Skip to content

Conversation

koverholt
Copy link
Member

@koverholt koverholt commented Feb 27, 2024

Description

Fixes #11256.

Currently, the generative-ai/function-calling code sample uses the text modality of Gemini function calling. This PR adds sample code and tests for generative-ai/function-calling-chat that shows how to use the chat modality of Gemini function calling with a multi-turn conversation.

Checklist

@koverholt koverholt requested review from a team as code owners February 27, 2024 03:43
Copy link

snippet-bot bot commented Feb 27, 2024

Here is the summary of changes.

You are about to add 1 region tag.

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

@koverholt
Copy link
Member Author

FYI, tests are failing for other code samples, but this particular code sample looks to be passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add code sample for generative-ai/function-calling that uses the chat modality
4 participants