What is the primary user experience issue addressed by using streaming in a chat interface?	The high latency (potentially 10-30 seconds) between submitting a user message and receiving the full assistant response.
What technique is used to improve the user experience by displaying response content as it is generated?	Streaming.
What does Claude send back immediately upon receiving a request in a streaming session, before any text content appears?	An initial response that signals the request has been received and Claude is about to start generating text.
What does the server receive during the streaming process from Claude?	A stream of events, where each event contains a chunk of the generated response.
Which specific event type contains the actual text generated by Claude in a streaming response?	`raw_content_block_delta`.
When using the client messages API, what keyword argument must be set to enable streaming?	`stream=True`.
What is the preferred way to handle streaming in the Anthropic SDK, and what is its benefit?	Using the `with client_messages.stream:` block, which yields the text directly from the events.
After a streaming response has finished, what method can be used to collect all the individual chunks into one complete message?	`stream.get_final_message()`.
