GoogleCloudPlatform / python-docs-samples

Code samples used on cloud.google.com
Apache License 2.0
7.08k stars 6.34k forks source link

feat(generative-ai): Add context caching samples (2) #11878

Closed gericdong closed 1 week ago

gericdong commented 1 week ago

Description

Fixes b346529113

Add context caching samples part 2:

Part 1 is in #11871

snippet-bot[bot] commented 1 week ago

Here is the summary of changes.

You are about to add 4 region tags. - [generative_ai/context_caching/delete_context_cache.py:17](https://github.com/gericdong/edong-python-docs-samples/blob/cb87e87f697f2c6b7e024c7dfe83c71e3adabda6/generative_ai/context_caching/delete_context_cache.py#L17), tag `generativeaionvertexai_gemini_delete_context_cache` - [generative_ai/context_caching/get_context_cache.py:17](https://github.com/gericdong/edong-python-docs-samples/blob/cb87e87f697f2c6b7e024c7dfe83c71e3adabda6/generative_ai/context_caching/get_context_cache.py#L17), tag `generativeaionvertexai_gemini_get_context_cache` - [generative_ai/context_caching/update_context_cache.py:17](https://github.com/gericdong/edong-python-docs-samples/blob/cb87e87f697f2c6b7e024c7dfe83c71e3adabda6/generative_ai/context_caching/update_context_cache.py#L17), tag `generativeaionvertexai_gemini_update_context_cache` - [generative_ai/context_caching/use_context_cache.py:17](https://github.com/gericdong/edong-python-docs-samples/blob/cb87e87f697f2c6b7e024c7dfe83c71e3adabda6/generative_ai/context_caching/use_context_cache.py#L17), tag `generativeaionvertexai_gemini_use_context_cache`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below: