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]: context caching for gemini-1.5 #3038

Open
yeounoh opened this issue Jun 28, 2024 · 3 comments · May be fixed by #3207
Open

[Feature Request]: context caching for gemini-1.5 #3038

yeounoh opened this issue Jun 28, 2024 · 3 comments · May be fixed by #3207
Assignees
Labels
0.2 Issues which are related to the pre 0.4 codebase needs-triage

Comments

@yeounoh
Copy link

yeounoh commented Jun 28, 2024

Is your feature request related to a problem? Please describe.

Context caching is critical in reducing the cost over repeated prompts and/or requests. We can also expose and leverage this as part of the ongoing gemini integration efforts.

Describe the solution you'd like

Provide an API for caching and provide examples for the usage.

Additional context

https://ai.google.dev/gemini-api/docs/caching?utm_source=gais&utm_medium=email&utm_campaign=june&lang=python

@yeounoh
Copy link
Author

yeounoh commented Jun 28, 2024

I can raise a PR for this, but currently not allowed to claim (assign to myself) the issue.

@LittleLittleCloud
Copy link
Collaborator

@yeounoh just assign this task to you, let us know if you need further assistance.

@yeounoh
Copy link
Author

yeounoh commented Jul 2, 2024

@yeounoh just assign this task to you, let us know if you need further assistance.

Thank you, will do!

@yeounoh yeounoh linked a pull request Jul 24, 2024 that will close this issue
3 tasks
@rysweet rysweet added 0.2 Issues which are related to the pre 0.4 codebase needs-triage labels Oct 2, 2024
@fniedtner fniedtner removed the feature label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.2 Issues which are related to the pre 0.4 codebase needs-triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants