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

Enhancement: Add Google Gemini Context Caching #3257

Open
1 task done
fret423 opened this issue Jul 4, 2024 · 2 comments
Open
1 task done

Enhancement: Add Google Gemini Context Caching #3257

fret423 opened this issue Jul 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@fret423
Copy link

fret423 commented Jul 4, 2024

What features would you like to see added?

Google has launched Context Caching recently to its Gemini products. This significantly reduces the cost of queries where there are long contexts. One of the ways that we use LibreChat internally is that we feed it our documentation (using the Files sidebar for RAG), and ask questions. Since the entire context of the documentation is fairly stable, it would be great to pay lower costs for it through caching.

More details

Context Caching is implemented by providing an expiry date, so this would need to be added somehow. I think it would be best by giving each file an option to cache through the File Manager modal.

Which components are impacted by your request?

General

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@fret423 fret423 added the enhancement New feature or request label Jul 4, 2024
@tfriedel
Copy link

also anthropic added the same feature yesterday

@danny-avila
Copy link
Owner

also anthropic added the same feature yesterday

Thanks, I am aware. Given that this is a totally different feature/provider, a new issue is in order: #3661

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

3 participants