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

[Feature]: Can GPTCache work with FastChat? #631

Open 3togo opened 2 weeks ago

3togo commented 2 weeks ago

I am looking for a mean to use GPTCache in FastChat. Any pointer?

SimFG commented 2 weeks ago

you can try to use the gptcache api, the demo code: https://github.com/zilliztech/GPTCache/blob/main/examples/adapter/api.py