[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 function calling snippets #3673

Merged
merged 22 commits into from
May 8, 2024

Conversation

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

No description provided.

arbrown added 12 commits May 3, 2024 14:43
Move existing snippets to new folder, and update tests
#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 arbrown requested review from a team as code owners May 6, 2024 20:21
Copy link
snippet-bot bot commented May 6, 2024

Here is the summary of possible violations 😱

There are 2 possible violations for removing region tag in use.

The end of the violation section. All the stuff below is FYI purposes only.


Here is the summary of changes.

You are about to add 4 region tags.
You are about to delete 2 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

@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: genai labels May 6, 2024
@arbrown arbrown changed the title feat(generative-ai): Add sample for basic text generation. feat(generative-ai): Add function calling snippets May 6, 2024
@arbrown arbrown merged commit 51aa75e into main May 8, 2024
30 of 32 checks passed
@arbrown arbrown deleted the vertex-gemini-function branch May 8, 2024 20:15
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