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

[Feature Request] #414

Open
Rtoribiog opened this issue Apr 18, 2024 · 1 comment
Open

[Feature Request] #414

Rtoribiog opened this issue Apr 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Rtoribiog
Copy link

Context / Scenario

That's a feature that already exists in langchain and will be beneficial to save costs. The idea will be to ported from phyton to c#

https://github.com/zilliztech/GPTCache

https://python.langchain.com/docs/integrations/llms/llm_caching/

https://www.mongodb.com/developer/products/atlas/advanced-rag-langchain-mongodb/

The problem

A lot of money and performance is waste answering the same questions again and again

Proposed solution

Be able to save all the queries together with llm responses in some database and try to fetch it first from there, if not then call the LLM, and have some parameters to invalidate or update cache from time to time.

Importance

would be great to have

@Rtoribiog Rtoribiog added the enhancement New feature or request label Apr 18, 2024
@OrionSeven
Copy link

+1 Would love to see this. Tons of value savings with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants