-
Notifications
You must be signed in to change notification settings - Fork 16k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caching for chat based models. #2976
Comments
I found a possible solution from the release note of gptcache. It worked with ChatOpenAI class, not so sure about Azure though.
|
I can confirm, that Cache init by:
LangChain Version 0.0.166 Would be nice if this can be added. Thanks! |
relates (#1644) |
I have tested on Azure OpenAI and it works!
|
@czuo0303 I tried the same code for using ChatOpenAI but I am facing the following error, which version of langchain and gptcache are you on ? Also, can someone, please help me figure out this error? My Code
This gives me the following error
I am using |
me too |
it will be fixed, detail: zilliztech/GPTCache#538 |
Hi, @gd1m3y, I'm helping the LangChain team manage their backlog and am marking this issue as stale. From what I understand, you were looking for documentation or related issues on caching Azure chat OpenAI responses, and there have been several comments discussing potential solutions and related issues. One user confirmed that Could you please confirm if this issue is still relevant to the latest version of the LangChain repository? If it is, please let the LangChain team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days. Thank you for your understanding and cooperation. |
Is there any docs or related issues for caching the Azure chat open ai responses i cannot find one.
The text was updated successfully, but these errors were encountered: