Langroid passesTask classcap (a poem)Hierarchical taskingEnabling multi-intelligence collaboration. Developers can:
- Create multiple intelligences, each configured with a separate LLM or tool;
- expense or outlayTaskPackaging intelligences, defining commands, goals, and interaction logic;
- pass (a bill or inspection etc)add_sub_task()Establish a parent-child task relationship that creates a hierarchical structure (e.g., teacher-student example);
- The inter-intelligent body passesmessage deliveryinteractions, the parent task coordinates the execution order of the child tasks and can be passed a parameter (e.g.
single_round
) control process.
This architecture is suitable for modeling the division of roles (e.g., research assistant, data analyst) or complex systems (e.g., market simulation).
This answer comes from the articleLangroid: Easily Navigating Large Language Models with Multi-Intelligent Body ProgrammingThe