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

Enhance Function_calling.ipynb cookbook #156

Open
NickEfthymiou opened this issue May 20, 2024 · 0 comments
Open

Enhance Function_calling.ipynb cookbook #156

NickEfthymiou opened this issue May 20, 2024 · 0 comments
Labels
component:quickstarts Issues/PR referencing quickstarts folder status:triaged Issue/PR triaged to the corresponding sub-team type:feature request New feature request/enhancement

Comments

@NickEfthymiou
Copy link

Description of the feature request:

Add example of Parallel function calling in the last section of cookbook/quickstarts
/Function_calling.ipynb

The last section of the cookbook demonstrates the parallel-calling feature when there are no dependencies between arguments to be supplied to function tools and results from previous function tools. That is a good starting point.

Many applications have partial dependencies. In other words, there are situations where, say, three functions can be requested by the model in parallel (because there are no dependencies between them) and two more functions are available to the model which can not yet be called because their arguments depend on results from one of the previously mentioned three functions.

It will be helpful to describe how this flow will be implemented even if it is currently not working.

See also
https://discuss.ai.google.dev/t/function-calling-in-gemini-1-5-pro-latest-are-multiple-functioncall-in-the-same-response-a-positive-development/632

What problem are you trying to solve with this feature?

Clarify the development direction for developing with function tools

Any other information you'd like to share?

Update issue
#94
It has been implicitly answered (and it would have been helpful if it had been actually answered before the May 15th code drop).

@NickEfthymiou NickEfthymiou added component:examples Issues/PR referencing examples folder component:quickstarts Issues/PR referencing quickstarts folder type:feature request New feature request/enhancement labels May 20, 2024
@singhniraj08 singhniraj08 added status:triaged Issue/PR triaged to the corresponding sub-team and removed component:examples Issues/PR referencing examples folder labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:quickstarts Issues/PR referencing quickstarts folder status:triaged Issue/PR triaged to the corresponding sub-team type:feature request New feature request/enhancement
Projects
None yet
Development

No branches or pull requests

3 participants
@singhniraj08 @NickEfthymiou and others