name: "ChatAtomic_Flow_with_Demonstrations" description: "A sequential flow that answers questions with demonstrations" subflows_config: demonstration_flow: _target_: flow_modules.aiflows.ChatWithDemonstrationsFlowModule.DemonstrationsAtomicFlow.instantiate_from_default_config chat_flow: _target_: flow_modules.aiflows.ChatFlowModule.ChatAtomicFlow.instantiate_from_default_config topology: - goal: Get Demonstrations input_interface: _target_: aiflows.interfaces.KeyInterface flow: demonstration_flow output_interface: _target_: aiflows.interfaces.KeyInterface - goal: Answer the question input_interface: _target_: aiflows.interfaces.KeyInterface flow: chat_flow output_interface: _target_: aiflows.interfaces.KeyInterface keys_to_rename: api_output: answer # Rename the api_output to answer input_interface_initialized: - "query" output_interface: - "answer"