nbaldwin's picture
added readmea + demo
40a0d94
raw
history blame
1.02 kB
flow:
_target_: aiflows.ControllerExecutorFlowModule.ControllerExecutorFlow.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:
_target_: flows.backends.llm_lite.LiteLLMBackend
api_infos: ???
model_name:
openai: "gpt-3.5-turbo"
azure: "azure/gpt-4"
Executor:
_target_: flows.base_flows.BranchingFlow.instantiate_from_default_config
subflows_config:
wiki_search:
_target_: aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow.instantiate_from_default_config