getChatResponse abstract method

Future<ChatResponse> getChatResponse({
  1. required Iterable<ChatMessage> messages,
  2. ChatOptions? options,
  3. CancellationToken? cancellationToken,
})

Sends a chat request and returns the complete response.

Implementation

Future<ChatResponse> getChatResponse({
  required Iterable<ChatMessage> messages,
  ChatOptions? options,
  CancellationToken? cancellationToken,
});