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

Add Content.functionResponses utility #159

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

natebosch
Copy link
Collaborator

The alternative when replying to multiple functions in parallel is to
use the Content constructor and pass the string 'function' to the
role parameter. Use a static method to obscure the role string for
consistency with the others.

Update sample with a demonstration of replying to all function calls.

The alternative when replying to multiple functions in parallel is to
use the `Content` constructor and pass the string `'function'` to the
`role` parameter. Use a static method to obscure the role string for
consistency with the others.

Update sample with a demonstration of replying to all function calls.
@natebosch natebosch requested a review from cynthiajoan May 10, 2024 21:57
@natebosch natebosch merged commit a9ebd46 into main May 10, 2024
7 checks passed
@natebosch natebosch deleted the double-function-calling branch May 10, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants