neo4j_retriever is not respecting score_threshold
ais-qianhao-liu opened this issue · comments
Ais Qianhao Liu commented
Is this a known problem?
Also should set this search_type="similarity_score_threshold"
retriever = neo_db.as_retriever(search_type="similarity_score_threshold", search_kwargs={'k': search_k, "score_threshold": score_threshold})
Currently I can manually filter the result docs, but would be great if this can be fixed
vasanthasaikalluri commented
Hi @ais-qianhao-liu , we have updated the search_type thanks for your feedback.