LLMGenerationResult constructor
const
LLMGenerationResult({
- required String text,
- String? thinkingContent,
- required int inputTokens,
- required int tokensUsed,
- required String modelUsed,
- required double latencyMs,
- String? framework,
- required double tokensPerSecond,
- double? timeToFirstTokenMs,
- int thinkingTokens = 0,
- int responseTokens = 0,
- Map<
String, dynamic> ? structuredData,
Implementation
const LLMGenerationResult({
required this.text,
this.thinkingContent,
required this.inputTokens,
required this.tokensUsed,
required this.modelUsed,
required this.latencyMs,
this.framework,
required this.tokensPerSecond,
this.timeToFirstTokenMs,
this.thinkingTokens = 0,
this.responseTokens = 0,
this.structuredData,
});