| name: "ChatInteractiveFlow" |
| description: "Flow that enables chatting between a ChatAtomicFlow and a user providing the input." |
| _target_: flow_modules.aiflows.ChatInteractiveFlowModule.ChatHumanFlowModule.instantiate_from_default_config |
| max_rounds: null |
|
|
| input_interface: |
| - "query" |
| |
| output_interface: |
| - "end_of_interaction" |
| - "user_inputs" |
| - "assistant_outputs" |
|
|
| regex_first_occurrence_extractor: |
| regex: "(?<=```answer)([\\s\\S]*?)(?=```)" |
| input_key: "query" |
| output_key: "answer" |
| strip: true |
| assert_unique: true |
|
|
| end_of_interaction: |
| end_of_interaction_string: "<END>" |
| input_key: "query" |
| output_key: "end_of_interaction" |
|
|
| subflows_config: |
| Assistant: |
| _target_: flow_modules.aiflows.ChatFlowModule.ChatAtomicFlow.instantiate_from_default_config |
| flow_class_name: flow_modules.aiflows.ChatFlowModule.ChatAtomicFlow |
| flow_endpoint: Assistant |
| user_id: local |
| User: |
| _target_: flow_modules.aiflows.HumanStandardInputFlowModule.HumanStandardInputFlow.instantiate_from_default_config |
| flow_class_name: flow_modules.aiflows.HumanStandardInputFlowModule.HumanStandardInputFlow |
| flow_endpoint: User |
| user_id: local |
|
|
|
|
|
|
|
|