Full support for tools/functions #252
carlos-verdes
started this conversation in
General
Replies: 3 comments 1 reply
-
@cvauclair take a look into this please |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey, thanks for the post! In the future, please make an issue for related requests like this as that is the proper channel for us to catalog changes and improvements to the rig project, thanks! Check out #199 for active progress on this! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Opened a PR for this (still in development) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using a tool that respond with a JSON (for example an API call) the agent is simply returning the JSON.
Doing some research I found out we need to pass the output of the tool response back to the model so it can build a proper human readable answer.
To support this we need some steps:
Message
abstraction in completion module to add new field calltool_calls
tool_calls.first()
which is not correct).Example of new
Message
:Then we can add a logic similar to this in completion implementation (one per provider):
I started a new branch in my fork to cover these points and a first tentative for OpenAI.
Graphical representation of where we are and what is missing:

Beta Was this translation helpful? Give feedback.
All reactions