You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Langchain-based notebooks display the following warning:
WARNING:langchain.vectorstores.redis.base:score_threshold is deprecated. Use distance_threshold instead.score_threshold should only be used in similarity_search_with_relevance_scores.score_threshold will be removed in a future release.
I too received that warning and modified the code like you did. I realized that I had to experiment with different values of "distance_threshold" and "k". In my case a value of 0.9 and "k" = 3 with some guardrails in the prompt to prevent hallucination seemed to work. I would encourage you to try different values and see what works for you !
Langchain-based notebooks display the following warning:
WARNING:langchain.vectorstores.redis.base:score_threshold is deprecated. Use distance_threshold instead.score_threshold should only be used in similarity_search_with_relevance_scores.score_threshold will be removed in a future release.
The following change would remove the warning:
Open questions:
The text was updated successfully, but these errors were encountered: