Skip to content
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

doc(aiplatform): add Vertex AI samples #14703

Merged
merged 3 commits into from
Sep 13, 2024
Merged

Conversation

scotthart
Copy link
Member

@scotthart scotthart commented Sep 12, 2024

This change is Reviewable

@product-auto-label product-auto-label bot added api: aiplatform Issues related to the AI Platform API. samples Issues that are directly related to samples. labels Sep 12, 2024
@scotthart scotthart marked this pull request as ready for review September 12, 2024 22:15
@scotthart scotthart requested a review from a team as a code owner September 12, 2024 22:15
Copy link

snippet-bot bot commented Sep 12, 2024

Here is the summary of changes.

You are about to add 3 region tags.

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:

  • Refresh this comment

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.61%. Comparing base (1f4d555) to head (8f464ab).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14703      +/-   ##
==========================================
- Coverage   93.62%   93.61%   -0.01%     
==========================================
  Files        2320     2320              
  Lines      207187   207187              
==========================================
- Hits       193971   193963       -8     
- Misses      13216    13224       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

void GeminiGenerateWithImage(std::vector<std::string> const& argv) {
if (argv.size() != 6) {
throw google::cloud::testing_util::Usage(
"gemini-generate-from-text-input <project> <location> <model-name> "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gemini-generate-with-image

void GeminiVideoWithAudio(std::vector<std::string> const& argv) {
if (argv.size() != 6) {
throw google::cloud::testing_util::Usage(
"gemini-generate-from-text-input <project> <location> <model-name> "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gemini-video-with-audio

Comment on lines +161 to +162
"What's in this photo?", "image/png",
"gs://generativeai-downloads/images/scones.jpg"});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am going to guess: scones

Copy link
Member Author

@scotthart scotthart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 4 files reviewed, 3 unresolved discussions (waiting on @dbolduc)


google/cloud/aiplatform/samples/samples.cc line 63 at r2 (raw file):

Previously, dbolduc (Darren Bolduc) wrote…

gemini-generate-with-image

Done.


google/cloud/aiplatform/samples/samples.cc line 108 at r2 (raw file):

Previously, dbolduc (Darren Bolduc) wrote…

gemini-video-with-audio

Done.


google/cloud/aiplatform/samples/samples.cc line 162 at r2 (raw file):

Previously, dbolduc (Darren Bolduc) wrote…

I am going to guess: scones

The photo shows a table setting with a white tablecloth, blueberry scones, a bowl of blueberries, two cups of coffee, and pink peonies. The spoon says "Let's Jam".

@scotthart scotthart enabled auto-merge (squash) September 13, 2024 18:55
@scotthart scotthart merged commit 8c64a81 into googleapis:main Sep 13, 2024
70 of 71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: aiplatform Issues related to the AI Platform API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants