Chapter 8: Graph Tool (complex workflows)
Goal of this chapter: understand the Graph Tool concept and build more complex workflows using the compose package.
Code location
- Entry code: cmd/ch08/main.go
- RAG implementation: rag/rag.go
Full tutorial
What you learn
- How to decompose a complex task into a deterministic execution graph.
- How to parallelize “chunking + retrieval” for large files and aggregate results back into a final answer.