mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-01 10:10:49 +02:00
add default schema config (#2888)
* add default schema config * resolve circular import * k
This commit is contained in:
@ -21,6 +21,7 @@ from danswer.indexing.models import ChunkEmbedding
|
||||
from danswer.indexing.models import DocMetadataAwareIndexChunk
|
||||
from danswer.indexing.models import IndexChunk
|
||||
from danswer.utils.timing import log_function_time
|
||||
from shared_configs.configs import POSTGRES_DEFAULT_SCHEMA
|
||||
from shared_configs.model_server_models import Embedding
|
||||
|
||||
|
||||
@ -94,7 +95,7 @@ def generate_dummy_chunk(
|
||||
),
|
||||
document_sets={document_set for document_set in document_set_names},
|
||||
boost=random.randint(-1, 1),
|
||||
tenant_id="public",
|
||||
tenant_id=POSTGRES_DEFAULT_SCHEMA,
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user