GoogleCloudPlatform / nodejs-docs-samples

Node.js samples for Google Cloud Platform products.
https://cloud.google.com/nodejs
Apache License 2.0
2.78k stars 1.93k forks source link

feat(generative-ai): update samples to Gemini Flash; add updated regi… #3716

Closed irataxy closed 1 week ago

irataxy commented 2 weeks ago

…on tags

Description

Fixes b:338059213

snippet-bot[bot] commented 2 weeks ago

Here is the summary of changes.

You are about to add 10 region tags. - [generative-ai/snippets/function-calling/functionCallingStreamChat.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/function-calling/functionCallingStreamChat.js#L15), tag `generativeaionvertexai_gemini_function_calling_chat` - [generative-ai/snippets/nonStreamingChat.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/nonStreamingChat.js#L15), tag `generativeaionvertexai_gemini_multiturn_chat_nonstreaming` - [generative-ai/snippets/nonStreamingContent.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/nonStreamingContent.js#L15), tag `generativeaionvertexai_gemini_content_nonstreaming` - [generative-ai/snippets/nonStreamingMultipartContent.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/nonStreamingMultipartContent.js#L15), tag `generativeaionvertexai_gemini_get_started` - [generative-ai/snippets/safetySettings.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/safetySettings.js#L15), tag `generativeaionvertexai_gemini_safety_settings` - [generative-ai/snippets/sendMultiModalPromptWithImage.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/sendMultiModalPromptWithImage.js#L15), tag `generativeaionvertexai_gemini_single_turn_multi_image` - [generative-ai/snippets/sendMultiModalPromptWithVideo.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/sendMultiModalPromptWithVideo.js#L15), tag `generativeaionvertexai_gemini_single_turn_video` - [generative-ai/snippets/streamChat.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/streamChat.js#L15), tag `generativeaionvertexai_gemini_multiturn_chat_stream` - [generative-ai/snippets/streamContent.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/streamContent.js#L15), tag `generativeaionvertexai_gemini_content` - [generative-ai/snippets/streamMultipartContent.js:15](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/8b78e98cd8d78b6b89746e7f284d623affdf2884/generative-ai/snippets/streamMultipartContent.js#L15), tag `generativeaionvertexai_gemini_get_started`

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: