-
Notifications
You must be signed in to change notification settings - Fork 161
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 "tool" keyword in agent chat_completion and assistants apis #978
Comments
reuse the parameter and add refer this usage https://github.com/huggingface/text-generation-inference/blob/main/docs/source/basic_tutorials/using_guidance.md?plain=1#L364 |
draft a pr #1126 |
add tools when initialization, can't change during conversations https://github.com/opea-project/GenAIComps/blob/main/comps/agent/src/integrations/strategy/sqlagent/planner.py#L79 |
reuse |
the pr #1126 is merged |
Priority
P3-Medium
OS type
Ubuntu
Hardware type
Gaudi2
Running nodes
Single Node
Description
user can pass a subset of tools (subset of tools defined in tools yaml) as part of their requests to agent's chat_completion or assistants apis (see list below), and agents will only use the subset of tools in this turn of conversation.
api list with tool keywords:
https://platform.openai.com/docs/api-reference/chat/create,
https://platform.openai.com/docs/api-reference/assistants/createAssistant,
https://platform.openai.com/docs/api-reference/runs/createRun
The text was updated successfully, but these errors were encountered: