File size: 1,348 Bytes
5fbaf2a
 
40a0d94
5fbaf2a
 
 
34a9244
5eb5cb9
34a9244
5eb5cb9
 
34a9244
5fbaf2a
 
 
 
1beb8a2
 
 
 
5fbaf2a
 
 
 
 
 
40a0d94
5fbaf2a
 
34a9244
 
5eb5cb9
 
34a9244
 
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
_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
    name: "Proxy Controller"
    flow_class_name: flow_modules.aiflows.ControllerExecutorFlowModule.ControllerAtomicFlow
    flow_endpoint: ControllerAtomicFlow
    user_id: local
    description: "A flow that acts as a proxy for the controller."
    commands:
      wiki_search:
        description: "Performs a search on Wikipedia."
        input_args: ["search_term"]
      # ddg_search:
      #   description: "Query the search engine DuckDuckGo."
      #   input_args: ["query"]
  
    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
    flow_class_name: flow_modules.aiflows.ControllerExecutorFlowModule.WikiSearchAtomicFlow
    flow_endpoint: WikiSearchAtomicFlow
    user_id: local
    name: "WikiSearchAtomicFlow"
    description: "A flow that searches Wikipedia for information."