# SPDX-License-Identifier: Apache-2.0
nika: v1
worworkflow: research-pipeline
model: mock/echo
vars:
  topic:
    type: string
    required: true
tasks:
  - id: research
    infer:
      prompt: "Research ${{ vars.topic }}"
  - id: summarize
    depends_on: [research]
    infer:
      prompt: "Summarize ${{ tasks.research.output }}"
outputs:
  brief:
    value: ${{ tasks.summarize.out }}
    type: string
