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
similarity_threshold (float) – a threshold ranged from 0 to 1 to filter search results with similarity score higher than the threshold. When it is 0, there is no hits. When it is 1, all search results will be returned as hits.
Also, the syntax of "filter search results with similarity score higher than the threshold" is not defined enough. Are we filtering OUT results with a similarity higher than the threshold, and discarding them? or are we looking ONLY at items with similarity higher than the threshold?
The text was updated successfully, but these errors were encountered:
Documentation Link
https://gptcache.readthedocs.io/en/latest/references/gptcache.html?highlight=config#module-gptcache.config
Describe the problem
The documentation says:
But when I initialize the cache like so:
I don't get any hits.
Describe the improvement
Reverse the description of similarity_threshold.
Anything else?
Also, the syntax of "filter search results with similarity score higher than the threshold" is not defined enough. Are we filtering OUT results with a similarity higher than the threshold, and discarding them? or are we looking ONLY at items with similarity higher than the threshold?
The text was updated successfully, but these errors were encountered: