getChatResponse abstract method
Future<ChatResponse>
getChatResponse({
- required Iterable<
ChatMessage> messages, - ChatOptions? options,
- CancellationToken? cancellationToken,
Sends a chat request and returns the complete response.
Implementation
Future<ChatResponse> getChatResponse({
required Iterable<ChatMessage> messages,
ChatOptions? options,
CancellationToken? cancellationToken,
});