ChatCompletionResponse constructor

const ChatCompletionResponse({
  1. String? model,
  2. String? provider,
  3. required List<ChatCompletionChoice> choices,
  4. Map<String, dynamic>? usage,
  5. Map<String, dynamic>? rawResponse,
  6. required DateTime timestamp,
})

Implementation

const ChatCompletionResponse({
  this.model,
  this.provider,
  required this.choices,
  this.usage,
  this.rawResponse,
  required this.timestamp,
});