-
Notifications
You must be signed in to change notification settings - Fork 169
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
Add the Content caching feature #167
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DellaBitta
reviewed
Jun 6, 2024
DellaBitta
changed the title
DO NOT MERGE: Add context caching - draft
DO NOT MERGE: Add context caching
Jun 13, 2024
Updates to the Content Caching feature in development. - adds integration tests - adds display name to the creation of content caching. - fixes the use of a context cache in the sample implementation. Documentation PR is separate: #172
An isolated pull request with the Cached Content documentation.
DellaBitta
approved these changes
Jun 17, 2024
Fixes merged. |
hsubox76
changed the title
DO NOT MERGE: Add context caching
DO NOT MERGE: Add content caching
Jun 17, 2024
DellaBitta
changed the title
DO NOT MERGE: Add content caching
Add the Content caching feature
Jun 17, 2024
This was referenced Oct 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Feature: Content Caching
Design doc (API) (internal): https://docs.google.com/document/d/1kJTdoz-RO7mkzsjE1QDfJfD1YvSxJXuzmqTAtsS1hJ0/edit?resourcekey=0-cv2C2J8SLDn__yoetTPvBw&tab=t.0
Design doc (Python SDK) (internal): https://docs.google.com/document/d/11en7rPCuXIu-hfF71jUDWkfQctWeFEoq_5KgkinnxWg/edit?resourcekey=0-ntvB0-Y_GBQXOfkO-KDaXg&tab=t.0
APIs added
Infrastructure changed
/files
subpath changed to/server
. GoogleAIFileManager and GoogleAICacheManager will be exported from here as they are only meant to be used in a server environment.makeRequest
-related functions to reduce code duplication