/** * This file was auto-generated by Fern from our API Definition. */ import * as Vellum from "../index"; export interface EnrichedNormalizedCompletion { /** The Vellum-generated ID of the completion. */ id: string; /** The external ID that was originally provided along with the generation request, which uniquely identifies this generation in an external system. */ externalId?: string | null; /** The text generated by the LLM. */ text: string; /** * The reason the generation finished. * * * `LENGTH` - LENGTH * * `STOP` - STOP * * `UNKNOWN` - UNKNOWN */ finishReason?: Vellum.FinishReasonEnum | null; /** The logprobs of the completion. Only present if specified in the original request options. */ logprobs?: Vellum.NormalizedLogProbs | null; /** The ID of the model version used to generate this completion. */ modelVersionId?: string | null; promptVersionId: string; type?: Vellum.VellumVariableType; deploymentReleaseTag: string; modelName: string; }