zilliztech / GPTCache

Semantic cache for LLMs. Fully integrated with LangChain and llama_index.
https://gptcache.readthedocs.io
MIT License
6.89k stars 480 forks source link

[Bug]: update test code #595

Closed songsey closed 5 months ago

songsey commented 6 months ago

Current Behavior

https://github.com/zilliztech/GPTCache/blob/acc20f05400dabdcde451194e9bb73b986747685/tests/integration_tests/test_sqlite_faiss_onnx.py#L162-L174

no hit when the threshold is at 0

Expected Behavior

should be 1 per your updated documentation

Steps To Reproduce

No response

Environment

No response

Anything else?

No response