File size: 1,139 Bytes
f2030ec
b6b3916
6211d74
 
 
0b2483c
 
 
 
 
6211d74
 
 
 
 
 
 
 
 
0b2483c
 
 
 
 
6211d74
 
 
 
 
 
 
 
 
 
 
 
b6b3916
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

max_rounds: 20
_target_: flow_modules.aiflows.ChatInteractiveFlowModule.ChatHumanFlowModule.instantiate_from_default_config
subflows_config:
  Assistant:
    name: "Assistantflow"
    description: "A flow that represents the assistant."
    _target_: aiflows.base_flows.AtomicFlow.instantiate_from_default_config
    user_id: local
    flow_endpoint: Assistant
    backend:
      _target_: aiflows.backends.llm_lite.LiteLLMBackend
      api_infos: ???
      model_name: 
        openai: "gpt-4"
        azure: "azure/gpt-4"
    input_interface_non_initialized: []
    
  User:
    _target_: aiflows.base_flows.AtomicFlow.instantiate_from_default_config
    user_id: local
    flow_endpoint: User
    name: "User"
    description: "A flow that represents the user."
    request_multi_line_input_flag: False
    query_message_prompt_template: 
      _target_: aiflows.prompt_template.JinjaPrompt
      template: |2-
        {{api_output}}
        
        To end an Interaction, type <END> and press enter.
        
      input_variables: ["api_output"]
    input_interface:
      - "api_output"
    output_interface:
      - "human_input"