Gemini context caching #1716
jobryan205
started this conversation in
General
Replies: 1 comment
-
I am just starting to explore this also. Perhaps, the approach outlined by #940 (reply in thread) may help us. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am trying to use Context Caching with my calls to Gemini via Instructor (https://ai.google.dev/gemini-api/docs/caching?lang=python). I can't seem to make it work, however. Does Instructor support Gemini's Context Caching abilities? If not, are there plans to support it in the future?
The following is a call to Gemini via the Gemini SDK that successfully uses context caching:
The following is my attempt to use context caching via Instructor:
The above doesn't work, however.
Beta Was this translation helpful? Give feedback.
All reactions