Files
qihuaiflow/backend/python/app/workflow_templates/research-assistant.yaml
T

26 lines
871 B
YAML

version: "1.0"
name: "Research & Answer"
description: "Research topic → generate answer. Uses two LLM nodes for research and synthesis."
category: productivity
nodes:
- id: research
type: llm
description: "Search and gather information on the topic"
on_error: continue
config:
model: auto
system_prompt: "You are a thorough researcher. Search for key facts, data points, and relevant context about the given topic. Provide a comprehensive summary with citations."
- id: answer
type: llm
description: "Synthesize research into final answer"
on_error: continue
config:
model: auto
system_prompt: "You are a professional writer. Based on the research summary provided, craft a clear, well-structured answer for the user. Include key findings and actionable insights."
edges:
- from: research
to: answer