result property

Future<LLMGenerationResult> result
final

Future that completes with the final generation result and metrics when streaming finishes. Wait for this after consuming the stream to get the complete analytics.

Implementation

final Future<LLMGenerationResult> result;