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

Support OpenAI multi-tools #294

Open
2 tasks
pchalasani opened this issue Nov 8, 2023 · 0 comments
Open
2 tasks

Support OpenAI multi-tools #294

pchalasani opened this issue Nov 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@pchalasani
Copy link
Contributor

pchalasani commented Nov 8, 2023

Depends on #293

The new OpenAI v1.1.x API can return multiple tools, not just one. Add support for this in Langroid.

  • parse multi-tools in openai_gpt.py (this may already work once we implement tool parsing Upgrade: OpenAI function_call (deprecated) ==> tools #293 )
  • handle multi-tools in ChatAgent. Some thought needed on how exactly to handle multiple tools -- sequentially, async, or user-configurable, etc.
@pchalasani pchalasani added the enhancement New feature or request label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant