GoogleCloudPlatform / python-docs-samples

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

refactor: (GenAI) Reorganized Extensions Samples (Group A) #12587

Closed Thoughtseize1 closed 2 months ago

Thoughtseize1 commented 2 months ago

Description

Path for all new files is /generative_ai/extensions/

Region Tag Old file New File
generativeaionvertexai_delete_extension gemini_extensions.py delete_example.py
generativeaionvertexai_create_extension gemini_extensions.py create_example.py
generativeaionvertexai_execute_extension gemini_extensions.py execute_example.py
generativeaionvertexai_get_extension gemini_extensions.py get_example.py
generativeaionvertexai_list_extensions gemini_extensions.py list_example.py

Files need to be deleted after approval: generative_ai/gemini_extensions.py generative_ai/gemini_extensions_test.py

Checklist

snippet-bot[bot] commented 2 months ago

Here is the summary of changes.

You are about to add 5 region tags. - [generative_ai/extensions/create_example.py:22](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/f6f175bf97bca5cb58943415198ff43348c40123/generative_ai/extensions/create_example.py#L22), tag `generativeaionvertexai_create_extension` - [generative_ai/extensions/delete_example.py:20](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/f6f175bf97bca5cb58943415198ff43348c40123/generative_ai/extensions/delete_example.py#L20), tag `generativeaionvertexai_delete_extension` - [generative_ai/extensions/execute_example.py:20](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/f6f175bf97bca5cb58943415198ff43348c40123/generative_ai/extensions/execute_example.py#L20), tag `generativeaionvertexai_execute_extension` - [generative_ai/extensions/get_example.py:22](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/f6f175bf97bca5cb58943415198ff43348c40123/generative_ai/extensions/get_example.py#L22), tag `generativeaionvertexai_get_extension` - [generative_ai/extensions/list_example.py:24](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/f6f175bf97bca5cb58943415198ff43348c40123/generative_ai/extensions/list_example.py#L24), tag `generativeaionvertexai_list_extensions`

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: