File size: 2,045 Bytes
30754bf
 
b52b47e
30754bf
 
 
 
244cc2e
 
 
 
 
30754bf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b52b47e
 
30754bf
 
 
b52b47e
30754bf
 
 
8069682
f56bea9
30754bf
244cc2e
 
 
 
 
30754bf
 
 
244cc2e
 
 
 
 
30754bf
 
 
f56bea9
244cc2e
 
 
 
 
 
 
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
_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