Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ class Settings(BaseSettings):

chat_fallback_similarity_threshold: float = 0.35

chat_query_rewrite_enabled: bool = True
chat_query_rewrite_model: str = "gpt-4o-mini"
chat_query_rewrite_temperature: float = 0.0
chat_retrieval_method_query_expansion: str = "vector_query_expansion_fallback"
chat_retrieval_version_query_expansion: str = "query-expansion-fallback-v1"


@lru_cache
def get_settings() -> Settings:
Expand Down
Loading
Loading