| 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 # Run until early exit is detected | |
| 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: | |
| name: "Assistant" | |
| description: "A flow that represents the assistant." | |
| flow_class_name: flow_modules.aiflows.ChatFlowModule.ChatAtomicFlow | |
| flow_endpoint: Assistant | |
| user_id: local | |
| User: | |
| name: "User" | |
| description: "A flow that represents the user." | |
| flow_class_name: flow_modules.aiflows.HumanStandardInputFlowModule.HumanStandardInputFlow | |
| flow_endpoint: User | |
| user_id: local | |