TaskWeaver icon indicating copy to clipboard operation
TaskWeaver copied to clipboard

multi role in ext_role

Open SHX9610 opened this issue 1 year ago • 3 comments
trafficstars

hello,

There are multiple roles in the ext_role folder, how to transfer the output of A role to B role?

SHX9610 avatar Jul 08 '24 05:07 SHX9610

Not quite get your problem. Are you saying how role A can hear the ouput of role B? If this is the case, all the messages are routed by the Planner. If you want role B to hear what role A said, you need to say that explicitly in role A's and role B's description s that will be passed to the Planner's prompt during the conversation.

liqul avatar Jul 08 '24 06:07 liqul

Not quite get your problem. Are you saying how role A can hear the output of role B? If this is the case, all the messages are routed by the Planner. If you want role B to hear what role A said, you need to say that explicitly in role A's and role B's descriptions , that will be passed to the Planner's prompt during the conversation.

Your understanding is correct.

However, I do not want to explicitly pass the results through the planner prompt

I have a question: can the LLM be asked to search for the field information that appeared in the previous rounds of conversations in the yaml (prompt) of planner examples folder?

SHX9610 avatar Jul 08 '24 08:07 SHX9610

question

Or can we save the key output of Role in other ways and use it when needed ?

SHX9610 avatar Jul 08 '24 08:07 SHX9610