SimFG
SimFG
@ablozhou If the appeal answer has solved your problem, I will close this issue
@EricKong1985 This does not seem to be caused by GPTCache, maybe a similar problem: https://stackoverflow.com/questions/2790828/python-cant-pickle-module-objects-error.
You can try to change the embedding and llm model
@imartinez If you have a free time, please help me checkout it
We are adding the rwkv embedding, see: #363 If you have other ideas, please feel free to give a comment
the latest version has support the Weaviate vector store
If you have other ideas, please open a new issue
it will be supported in the next version.
You can try to use the GPTCache api, a simple example like: ``` from gptcache.adapter.api import put, get, init_similar_cache init_similar_cache() put("hello", "foo") print(get("hello")) ```
Yes, you can use the `LangChainLLMs`, like: ``` from gptcache.adapter.langchain_models import LangChainLLMs from langchain.llms import OpenAI langchain_openai = OpenAI(model_name="text-ada-001") llm = LangChainLLMs(llm=langchain_openai) answer = llm(prompt=question) ``` if you use the...