| | name: "ChatInteractiveFlow" |
| | description: "Flow that enables chatting between a ChatAtomicFlow and a user providing the input." |
| |
|
| | 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 |
| | User: |
| | _target_: flow_modules.aiflows.HumanStandardInputFlowModule.HumanStandardInputFlow.instantiate_from_default_config |
| |
|
| |
|
| |
|
| |
|