[go: nahoru, domu]

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

feat(generative-ai): Add basic samples for Gemini / VertexAI inference #3670

Merged
merged 12 commits into from
May 6, 2024

Conversation

arbrown
Copy link
Contributor
@arbrown arbrown commented May 3, 2024

No description provided.

@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: genai labels May 3, 2024
@arbrown arbrown changed the title feat(generative-ai): Add sample for basic text generation. feat(generative-ai): Add samples for Gemini / VertexAI inference. May 3, 2024
@arbrown arbrown changed the title feat(generative-ai): Add samples for Gemini / VertexAI inference. feat(generative-ai): Add basic samples for Gemini / VertexAI inference May 3, 2024
@arbrown arbrown marked this pull request as ready for review May 3, 2024 22:36
@arbrown arbrown requested review from a team as code owners May 3, 2024 22:36
Copy link
snippet-bot bot commented May 3, 2024

Here is the summary of changes.

You are about to add 4 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

@arbrown arbrown requested a review from gericdong May 6, 2024 17:35
* Update model to the correct multimodal model
* Clarify multimodal prompt based on order
@arbrown arbrown merged commit f377daa into main May 6, 2024
32 checks passed
@arbrown arbrown deleted the vertex-gemini-snippets branch May 6, 2024 20:06
arbrown added a commit that referenced this pull request May 6, 2024
#3670)

* feat(generative-ai): Add sample for basic text generation.

* chore: fix lint issues

* feat: Add basic multimodal example

* chore: add header

* feat: Add streaming inference example

* feat: Add example for multimodal streaming response

* fix: Fix some tests that were not running correctly

* chore: Clarify test names

* fix: Adjust cloud storage bucket and argurment order for consistency

* chore: fix lint errors

* chore: Update some tests and prompt text to be clearer

* Update model to the correct multimodal model
* Clarify multimodal prompt based on order

* chore: Update function calling stream model to address flaky test.
arbrown added a commit that referenced this pull request May 8, 2024
* feat(generative-ai): Add sample for basic text generation.

* chore: fix lint issues

* feat: Add basic multimodal example

* chore: add header

* feat: Add streaming inference example

* feat: Add example for multimodal streaming response

* fix: Fix some tests that were not running correctly

* chore: Clarify test names

* fix: Adjust cloud storage bucket and argurment order for consistency

* feat(vertexai): Add Function calling snippets

Move existing snippets to new folder, and update tests

* feat(generative-ai): Add basic samples for Gemini / VertexAI inference (#3670)

* feat(generative-ai): Add sample for basic text generation.

* chore: fix lint issues

* feat: Add basic multimodal example

* chore: add header

* feat: Add streaming inference example

* feat: Add example for multimodal streaming response

* fix: Fix some tests that were not running correctly

* chore: Clarify test names

* fix: Adjust cloud storage bucket and argurment order for consistency

* chore: fix lint errors

* chore: Update some tests and prompt text to be clearer

* Update model to the correct multimodal model
* Clarify multimodal prompt based on order

* chore: Update function calling stream model to address flaky test.

* chore: Update advanced sample to match CURL

* fix: Fix function name

* chore: lint

* fix: Update safety settings generation settings to make a passing test _more likely_

* fix: Update copyright year

* chore: fix lint

* fix: Settle on model for funciton tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: genai samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants