Here is the raw stream from the “Hello!” example
Each row is an async response chunk
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:“\n\n”},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:“Hello”},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:" there"},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:“!”},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:" How"},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:" can"},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:" I"},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:" assist"},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:" you"},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:" today"},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{“content”:“?”},“index”:0,“finish_reason”:null}]}
data: {“id”:“”,“object”:“chat.completion.chunk”,“created”:1677725062,“model”:“gpt-3.5-turbo-0301”,“choices”:[{“delta”:{},“index”:0,“finish_reason”:“stop”}]}
data: [DONE]