File size: 1,285 Bytes
b52b47e f56bea9 b52b47e 8069682 f56bea9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
flow:
_target_: aiflows.AutoGPTFlowModule.AutoGPTFlow.instantiate_from_default_config
max_rounds: 30
### Subflows specification
subflows_config:
Controller:
_target_: aiflows.ControllerExecutorFlowModule.ControllerAtomicFlow.instantiate_from_default_config
commands:
wiki_search:
description: "Performs a search on Wikipedia."
input_args: [ "search_term" ]
finish:
description: "Signal that the objective has been satisfied, and returns the answer to the user."
input_args: [ "answer" ]
backend:
api_infos: ???
human_message_prompt_template:
template: |2-
Here is the response to your last action:
{{observation}}
Here is the feedback from the user:
{{human_feedback}}
input_variables:
- "observation"
- "human_feedback"
input_interface_initialized:
- "observation"
- "human_feedback"
Executor:
_target_: flows.base_flows.BranchingFlow.instantiate_from_default_config
subflows_config:
wiki_search:
_target_: aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow.instantiate_from_default_config
Memory:
backend:
api_infos: ???
|