camel
camel copied to clipboard
Clarify agent
Motivation and Context
The clarify agent is designed to support the specification of input task prompt, allowing for more detailed and specified information by interacting with users directly, so that the system can have a more precise and granular breakdowns of tasks, ensuring effective and efficient problem solving process.
I have raised an issue to propose this change (required for enhancement of multi-agent system)
Types of changes
What types of changes does your code introduce? Put an x
in all the boxes that apply:
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds core functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (update in the documentation)
- [x] Example (update in the folder of example)
Implemented Tasks
- Develop a dialogue manager within the clarify agent that initiates a conversation with users when a prompt requires further specification.
- Generate context aware questions that target the ambiguities or generalities in the prompt.
- An algorithm to adopt user's response and refine the definition of the task iteratively.
- Confirm the refinement until user input 'done'.
Checklist
- [x] I have read the CONTRIBUTION guide. (required)
- [x] My change requires a change to the documentation.
- [ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
- [ ] I have updated the documentation accordingly.
Hi @ZhangT-tech , do you think this PR still needs to be reviewed?
Hi @ZhangT-tech , do you think this PR still needs to be reviewed?
Yeah, I think it will be nice to be reviewed, but if you think it's not necessary to be integrated into the current MAS system, then I guess it's fine
Hi, clarify_agent is good for the beginning of the role-playing, as people do not know well how to write a good prompt and let the camel agents generate expected answers. I hope this pr could be a feature of the whole/main project. Thus, could you convert this pr to be merged to the main branch? For sure, you have to make appropriate modifications to the existing code. Thanks.