Skip to content
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

Update the GPTCache example #4985

Merged
merged 1 commit into from
May 19, 2023
Merged

Update the GPTCache example #4985

merged 1 commit into from
May 19, 2023

Conversation

SimFG
Copy link
Contributor

@SimFG SimFG commented May 19, 2023

Update the GPTCache example

Fixes #4757

Before submitting

The llm parameter does not seem to represent the llm model name, but rather the request parameter list. Too many parameters lead to a GPTCache file name that is too long. I updated the demo and used a hash method for the llm parameter. Perhaps the llm value can be optimized.

Who can review?

Please help me checkout it
@hwchase17
@dev2049

@dev2049 dev2049 merged commit f07b9fd into langchain-ai:master May 19, 2023
26 checks passed
@danielchalef danielchalef mentioned this pull request Jun 5, 2023
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment