Skip to content

Latest commit

 

History

History

workflow

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Workflow

Chain three LLM steps: outline, draft, edit.

Level: LLM · Concept: Pipelines · Needs: a model API key (DEEPSEEK_API_KEY as written; any provider works)

flowchart LR
  T([topic]) --> O[outline] --> D[draft] --> E[edit] --> R([article])
Loading

What it shows

  • Each step is a small component that builds a prompt and calls the model.
  • The pipeline, not the steps, decides the order.

Run

# Once, from the repository root
pnpm install && pnpm build

export DEEPSEEK_API_KEY=sk-...
pnpm --filter @astack-examples/workflow start

The full program is index.ts.

Next: Agent