-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat(vertexai): Add non-stream multimodality basic #4143
feat(vertexai): Add non-stream multimodality basic #4143
Conversation
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
d386f7c
to
9a5d9d3
Compare
Go version of the Python sample at https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/generative_ai/inference/non_stream_multimodality_basic.py Region tag `generativeaionvertexai_non_stream_multimodality_basic` Signed-off-by: Ian Lewis <ianmlewis@gmail.com>
9a5d9d3
to
0e60449
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sample is LGTM, but holding off on approval to confirm the reuse question.
|
||
package nonstreammultimodalitybasic | ||
|
||
// [START generativeaionvertexai_stream_multimodality_basic] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question:
Is this sample duplicative of https://github.com/GoogleCloudPlatform/golang-samples/blob/main/vertexai/multimodal-all/multimodalall.go or another sample?
If so, should we reuse instead of adding code?
Closing. Will submit a change to the docs to reuse existing samples. |
Description
Go version of the Python sample at
https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/generative_ai/inference/non_stream_multimodality_basic.py
Region tag
generativeaionvertexai_non_stream_multimodality_basic
Checklist
go test -v ./..
(see Testing)gofmt
(see Formatting)go vet
(see Formatting)