Video #11 — Claude API in Go Series
Publish date: 2026-08-10
Type: Heavy (Capstone)
Est. duration: ~38 min
- Ingesting text documents and images into a Claude context
- Asking natural language questions and getting structured JSON answers
- Building a
QAResulttype with source citations - Mixing text and image content blocks in a single message
- Patterns for extending to real PDFs, databases, and RAG pipelines
- Go 1.23+
- An Anthropic API key
- Episodes 04 (structured output) and 07 (vision) are the core background
cd 11-document-qa
export ANTHROPIC_API_KEY=your_key_here
go run main.go.
├── README.md
├── go.mod
├── go.sum
└── main.go