getStreamingChatResponse abstract method
Stream<ChatResponseUpdate>
getStreamingChatResponse({
- required Iterable<
ChatMessage> messages, - ChatOptions? options,
- CancellationToken? cancellationToken,
Sends a chat request and returns a stream of response updates.
Implementation
Stream<ChatResponseUpdate> getStreamingChatResponse({
required Iterable<ChatMessage> messages,
ChatOptions? options,
CancellationToken? cancellationToken,
});