Skip to content

Commit

Permalink
Return to fetch_k 60 for experiment.
Browse files Browse the repository at this point in the history
  • Loading branch information
morganmcg1 committed Jan 22, 2025
1 parent cf4636b commit dcc379a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/wandbot/configs/chat_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ class ChatConfig(BaseSettings):
search_type: Literal["mmr", "similarity"] = "mmr"
do_web_search: bool = False
redundant_similarity_threshold: float = 0.95 # used to remove very similar retrieved documents
similarity_score_threshold: float = 0.0 # Used in similarity score threshold retrieval, similarity search used
# Retrieval settings: MMR settings
fetch_k: int = 20 # Used in mmr retrieval. Typically set as top_k * 4
fetch_k: int = 60 # Used in mmr retrieval. Typically set as top_k * 4
mmr_lambda_mult: float = 0.5 # used in mmr retrieval
# Reranker models
rereanker_provider: str = "cohere"
Expand Down

0 comments on commit dcc379a

Please sign in to comment.