Skip to content

Commit

Permalink
Reenable Seeding (#3464)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Dec 14, 2024
1 parent 12c426c commit 73a86b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/onyx/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
from onyx.natural_language_processing.search_nlp_models import EmbeddingModel
from onyx.natural_language_processing.search_nlp_models import warm_up_bi_encoder
from onyx.natural_language_processing.search_nlp_models import warm_up_cross_encoder
from onyx.seeding.load_docs import seed_initial_documents
from onyx.seeding.load_yamls import load_chat_yamls
from onyx.server.manage.llm.models import LLMProviderUpsertRequest
from onyx.server.settings.store import load_settings
Expand Down Expand Up @@ -150,7 +151,7 @@ def setup_onyx(
# update multipass indexing setting based on GPU availability
update_default_multipass_indexing(db_session)

# seed_initial_documents(db_session, tenant_id, cohere_enabled)
seed_initial_documents(db_session, tenant_id, cohere_enabled)


def translate_saved_search_settings(db_session: Session) -> None:
Expand Down

0 comments on commit 73a86b9

Please sign in to comment.