File size: 1,062 Bytes
40a0d94
93c74cc
40a0d94
 
 
 
 
93c74cc
40a0d94
 
 
 
 
 
 
 
93c74cc
40a0d94
 
 
 
 
 
93c74cc
40a0d94
 
93c74cc
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
flow:
  _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" ]
        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"

    Executor:
      _target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
      subflows_config:
        wiki_search:
          _target_: flow_modules.aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow.instantiate_from_default_config