YUNOVA · AI Agents · Module 9: Agents with the OpenAI and Claude SDKs

Streaming responses

Notes for offline study · 30 November 2026

Streaming responses

Key points

  • Streaming में model का जवाब छोटे टुकड़ों में आता है, जिससे user को पूरा जवाब बनने का इंतज़ार नहीं करना पड़ता।
  • SDK में stream विकल्प चालू करके events को एक-एक करके पढ़ा और screen पर दिखाया जाता है।
  • Tool calls के साथ streaming में events को जोड़कर पूरा tool call बनाना पड़ता है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.