ChatWithDemonstrationsFlowModule / DemonstrationsAtomicFlow.yaml
nbaldwin's picture
merge with coflows
210a49b
raw
history blame contribute delete
573 Bytes
name: "DemonstrationAtomicFlow"
description: "A flow which returns Demonstrations"
_target_: flow_modules.aiflows.ChatWithDemonstrationsFlowModule.DemonstrationsAtomicFlow.instantiate_from_default_config
data: ??? #e.g. [{"query_data": {"query": "What is the capital of France?"}, "response_data": {"response": "Paris, my sir."}}]
params:
data_dir: ???
demonstrations_id: ???
ids_to_keep: null
demonstrations_k: null
query_prompt_template:
_target_: aiflows.prompt_template.JinjaPrompt
response_prompt_template:
_target_: aiflows.prompt_template.JinjaPrompt