nbaldwin's picture
working version coflows
5fbaf2a
raw
history blame
1.09 kB
_target_: flow_modules.aiflows.ControllerExecutorFlowModule.ControllerExecutorFlow.instantiate_from_default_config
max_rounds: 30
### Subflows specification
subflows_config:
Controller:
_target_: flow_modules.aiflows.ControllerExecutorFlowModule.ControllerAtomicFlow.instantiate_from_default_config
commands:
wiki_search:
description: "Performs a search on Wikipedia."
input_args: ["search_term"]
ddg_search:
description: "Query the search engine DuckDuckGo."
input_args: ["query"]
finish:
description: "Signal that the objective has been satisfied, and returns the answer to the user."
input_args: ["answer"]
backend:
_target_: aiflows.backends.llm_lite.LiteLLMBackend
api_infos: ???
model_name:
openai: "gpt-3.5-turbo"
azure: "azure/gpt-4"
wiki_search:
_target_: flow_modules.aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow.instantiate_from_default_config
name: "WikiSearchAtomicFlow"
description: "A flow that searches Wikipedia for information."