Skip to content

Commit

Permalink
🐛 remove similarity threshold in rag 1
Browse files Browse the repository at this point in the history
  • Loading branch information
baptiste-pasquier committed Mar 22, 2024
1 parent 97a64cb commit ecf636b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/rag_1/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ vectorstore:
retriever:
_target_: langchain_core.vectorstores.VectorStoreRetriever
vectorstore: ${..vectorstore}
search_type: "similarity_score_threshold"
search_type: "similarity"
search_kwargs:
k: 4
score_threshold: 0.5

ingest:
clear_database: True
Expand Down

0 comments on commit ecf636b

Please sign in to comment.