|
name: "CtrlEx" |
|
description: "ControllerExecutor (i.e., MRKL, ReAct) interaction implementation with Flows that approaches the problem solving in two phases: one Flow chooses the next step and another Flow executes it. This is repeated until the controller Flow concludes on an answer." |
|
max_rounds: 30 |
|
_target_: flow_modules.aiflows.ControllerExecutorFlowModule.ControllerExecutorFlow.instantiate_from_default_config |
|
|
|
input_interface: |
|
- "goal" |
|
output_interface: |
|
- "answer" |
|
- "status" |
|
|
|
|
|
subflows_config: |
|
Controller: |
|
name: "ControllerAtomicFlow" |
|
description: "A flow that calls other flows to solve a problem." |
|
flow_class_name: flow_modules.aiflows.ControllerExecutorFlowModule.ControllerAtomicFlow |
|
flow_endpoint: ControllerAtomicFlow |
|
user_id: local |
|
_target_: flow_modules.aiflows.ControllerExecutorFlowModule.ControllerAtomicFlow.instantiate_from_default_config |
|
commands: |
|
finish: |
|
description: "Signal that the objective has been satisfied, and returns the answer to the user." |
|
input_args: ["answer"] |
|
|
|
|
|
|
|
|
|
|
|
|
|
wiki_search: |
|
_target_: flow_modules.aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow.instantiate_from_default_config |
|
flow_class_name: flow_modules.aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow |
|
flow_endpoint: WikiSearchAtomicFlow |
|
user_id: local |
|
name: "WikiSearchAtomicFlow" |
|
description: "A flow that searches Wikipedia for information." |
|
|
|
|
|
|
|
|
|
|