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

multi role in ext_role #380

Open
SHX9610 opened this issue Jul 8, 2024 · 3 comments
Open

multi role in ext_role #380

SHX9610 opened this issue Jul 8, 2024 · 3 comments

Comments

@SHX9610
Copy link

SHX9610 commented Jul 8, 2024

hello,

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

@SHX9610 SHX9610 changed the title [multi role in ext_role] multi role in ext_role Jul 8, 2024
@liqul
Copy link
Contributor

liqul commented Jul 8, 2024

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.

@SHX9610
Copy link
Author

SHX9610 commented Jul 8, 2024

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
Copy link
Author

SHX9610 commented Jul 8, 2024

question

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants