Output of a single generation.

Hierarchy (view full)

Implements

Constructors

Properties

text: string

Generated text output

generationInfo?: Record<string, any>

Raw generation info response from the provider. May include things like reason for finishing (e.g. in OpenAI)

Methods

""