AutoGPTFlowModule / demo.yaml
nbaldwin's picture
Clean Versions
244cc2e
_target_: flow_modules.aiflows.AutoGPTFlowModule.AutoGPTFlow.instantiate_from_default_config
max_rounds: 30
### Subflows specification
subflows_config:
#ControllerFlow Configuration
Controller:
_target_: aiflows.base_flows.AtomicFlow.instantiate_from_default_config
name: "Proxy Controller"
user_id: local
description: "A flow that acts as a proxy for the controller."
flow_endpoint: ControllerAtomicFlow
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"
previous_messages:
last_k: 1
first_k: 2
wiki_search:
_target_: aiflows.base_flows.AtomicFlow.instantiate_from_default_config
name: "proxy WikiSearchAtomicFlow"
description: "A flow that searches Wikipedia for information."
flow_endpoint: WikiSearchAtomicFlow
user_id: local
#MemoryFlow Configuration
Memory:
name: "MemoryFlow"
description: "A flow that acts as a proxy for the memory."
_target_: flow_modules.aiflows.VectorStoreFlowModule.ChromaDBFlow.instantiate_from_default_config
flow_endpoint: MemoryFlow
user_id: local
backend:
model_name: none
api_infos: ???
HumanFeedback:
name: Proxy HumanFeedbackFlow
description: "A proxy flow that requests feedback from a human."
_target_: flow_modules.aiflows.HumanStandardInputFlowModule.HumanStandardInputFlow.instantiate_from_default_config
user_id: local
flow_endpoint: HumanStandardInputFlow