streaming_chat_message_content Module

Classes

StreamingChatMessageContent

This is the class for streaming chat message response content.

All Chat Completion Services should return an instance of this class as streaming response, where each part of the response as it is streamed is converted to an instance of this class, the end-user will have to either do something directly or gather them and combine them into a new instance. A service can implement their own subclass of this class and return instances of that.

Create a new instance of StreamingChatMessageContent.