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

Support prompt caching in Google Vertex AI generators #1003

Open
julian-risch opened this issue Aug 19, 2024 · 0 comments
Open

Support prompt caching in Google Vertex AI generators #1003

julian-risch opened this issue Aug 19, 2024 · 0 comments
Labels

Comments

@julian-risch
Copy link
Member

Is your feature request related to a problem? Please describe.
Google Vertex AI, in particular the models Gemini 1.5 Flash and Gemini 1.5 Pro support prompt caching or context caching. We should enable users to use that feature through Haystack to reduce costs and latency. https://cloud.google.com/vertex-ai/generative-ai/docs/context-cache/context-cache-overview

Describe the solution you'd like
We need to implement a way to first create a context cache and then to reference the contents of the context cache in a prompt request.

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

No branches or pull requests

1 participant