LLMResult constructor

const LLMResult({
  1. required String id,
  2. required String output,
  3. required FinishReason finishReason,
  4. required Map<String, dynamic> metadata,
  5. required LanguageModelUsage usage,
  6. bool streaming = false,
})

Result returned by the LLM.

Implementation

const LLMResult({
  required super.id,
  required super.output,
  required super.finishReason,
  required super.metadata,
  required super.usage,
  super.streaming = false,
});