-
Notifications
You must be signed in to change notification settings - Fork 6.6k
feat: (Gen AI): Add sample for Gemini parallel function calling example #12637
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: (Gen AI): Add sample for Gemini parallel function calling example #12637
Conversation
generative_ai/function_calling/parallel_function_calling_example.py
Outdated
Show resolved
Hide resolved
generative_ai/function_calling/parallel_function_calling_example_test.py
Outdated
Show resolved
Hide resolved
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
generative_ai/function_calling/examples_function_calling_test.py
Outdated
Show resolved
Hide resolved
generative_ai/function_calling/parallel_function_calling_example.py
Outdated
Show resolved
Hide resolved
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.
LGTM
…le (GoogleCloudPlatform#12637) * Add Python sample for Gemini parallel function calling * Update model version * rename test file to follow standard naming practice * move function_calling tests into a single file * give up to the pylint import-order unconfigured check * refresh CI checks * update region name to follow up the standard schema * update region tag name after a discussion
Description
Updates the existing
update_context_cache
sample to account for a variation listed in the "Update the context cache using its expire_time parameter" section of themultimodal/function-calling
Vertex AI page.As discussed with @msampathkumar, the
ttl
example and theexpire_time
examples are almost identical, and adding a new sample for a single parameter change brings very little value , so it's better to merge these examples into one.Checklist
nox -s py-3.8
andnox -s py-3.11
nox -s lint