AI Assistants output and input fields clarification

(Samuel) #1

Hi Flowxo community!

I am making a book writing assistant that requires ai assistants to pass information between them (similar to the supervisor and worker model). The main Ai assistant calls other assistants as tools. My struggle is getting these assistants to consistently pass data between them using the input and output fields – they pass the conversation history it seems, but it isn’t storing the information into the output or input fields.

Here is the situation. The AI Assistant called “ICOW Reader” is tasked with extracting certain information from a document called an ICOW that the user will upload. When it is completed, it passes this information back to the Writer Assistant and transfers the user to that assistant to continue working.

To do this, the ICOW reader has a tool called “call_Writer” that it calls when it is complete.

My question is, in general, what is the relationship between the Output Fields and Input Fields for the tool in this situation? Right now, I have the Output Fields and the Input Fields the same (see screenshots below). The ICOW ai assistant can find the data from the ICOW and enters it into the chat window, but it isn’t saving it as data from what I can tell.

The image above is the output fields for the ICOW reader.

The image above is the input fields in the tool call_Writer that the AI Assistant ICOW Reader calls. Is it redundant to have the same fields?

The image above is a screenshot of the assistant in action. It has the correct information in the chat window, but not as JSON data.

Any help, tutorials, or a point in the right direction is welcome :slight_smile:

Thanks all!

(Nathan Stults) #2

Hello,

Assistants will pass JSON formatted data to each-other based on the input fields you set in the Assistant tool. If assistant A is calling Assistant B via a tool, whatever input fields you have specified in the Assistant Tool for “B” will be sent as a JSON payload.

This is not usually redundant, because assistant B will usually not share a conversation history with Assistant A unless you are passing off control entirely to Assistant B.

However, providing JSON input to Assistant B does not automatically put the input into its output. So it depends on just what you mean when saying you aren’t seeing the JSON.

Your situation is complex enough you might want to reach out to support@flowxo.com and give us a run log # to look at along with your desired outcome so we can give you more tailored advice based on the actual chat history.