Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

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

[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.

@microsoft microsoft locked and limited conversation to collaborators Jun 5, 2024
@dluc dluc converted this issue into discussion #618 Jun 5, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants