Skip to content

Parallel function calling in autogen #589

@skzhang1

Description

@skzhang1

OpenAI now supports parallel function calls when openai >= 1.1.0.

Parallel function call is helpful for cases where you want to call multiple functions in one turn. For example, you may want to call functions to get the weather in 3 different locations at the same time. In this case, the model will call multiple functions in a single response.

To make autogen support this feature, it needs to update the dependency for OpenAI to the latest version. Currently, autogen can also call multiple function calls but in a sequence pattern.
For autogen users, anyone know what kind of use-cases could benefit from this parallel function call feature and demonstrate it worth an improvement compared with sequence calling?

Metadata

Metadata

Assignees

Labels

0.2Issues which are related to the pre 0.4 codebasetool-usagesuggestion and execution of function/tool call

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions