Skip to content

Commit

Permalink
Seeding (#3231)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Nov 23, 2024
1 parent 8ae6b19 commit 84615ab
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions backend/danswer/configs/chat_configs.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os


PROMPTS_YAML = "./danswer/chat/prompts.yaml"
PERSONAS_YAML = "./danswer/chat/personas.yaml"
INPUT_PROMPT_YAML = "./danswer/chat/input_prompts.yaml"
PROMPTS_YAML = "./danswer/seeding/prompts.yaml"
PERSONAS_YAML = "./danswer/seeding/personas.yaml"
INPUT_PROMPT_YAML = "./danswer/seeding/input_prompts.yaml"

NUM_RETURNED_HITS = 50
# Used for LLM filtering and reranking
Expand Down
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion backend/danswer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from sqlalchemy.orm import Session

from danswer.chat.load_yamls import load_chat_yamls
from danswer.configs.app_configs import DISABLE_INDEX_UPDATE_ON_SWAP
from danswer.configs.app_configs import MANAGED_VESPA
from danswer.configs.constants import KV_REINDEX_KEY
Expand Down Expand Up @@ -40,6 +39,7 @@
from danswer.search.models import SavedSearchSettings
from danswer.search.retrieval.search_runner import download_nltk_data
from danswer.seeding.load_docs import seed_initial_documents
from danswer.seeding.load_yamls import load_chat_yamls
from danswer.server.manage.llm.models import LLMProviderUpsertRequest
from danswer.server.settings.store import load_settings
from danswer.server.settings.store import store_settings
Expand Down

0 comments on commit 84615ab

Please sign in to comment.