Just find Node and Python exemple
Check this: REST Resource: cachedContents | Google AI for Developers | Google for Developers
Then when you need to generate content add the field cachedContent
to the available parameters eg contents
, tools
, toolConfig
, systemInstruction
I’ve based on this because that’s what I found as I keep up to date with that /v1beta REST API to keep updating my custom SDK
3 Likes
Thank you very very very much.