Documentation ¶ Overview ¶ Streaming response example. This example demonstrates how to use streaming to get responses token-by-token as they're generated, providing a better user experience for long responses. To run: export OPENAI_API_KEY="your-key-here" go run examples/03_streaming/main.go Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.