google-gemini / generative-ai-dart

The official Dart library for the Google Gemini API
https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=dart
Apache License 2.0
569 stars 115 forks source link

Context Caching #187

Open yvrez opened 4 months ago

yvrez commented 4 months ago

Description of the feature request:

I would like to request a feature for the Dart/Flutter Generative AI SDK to expose and support the new Context Caching functionality.

What problem are you trying to solve with this feature?

This feature is really helpful for optimizing the repeated transmission of heavy context in multiple successive request.

Any other information you'd like to share?

No response