Skip to content

BatchTextGeneration

Namespace: Vercel.AI.Operations

public sealed class BatchTextGeneration

A provider text generation inside a batch item.

Inheritance: object

View source

public IReadOnlyList<BatchContentPart> Content { get; set; }

Content parts.

Value: IReadOnlyList<BatchContentPart>

View source

public string? FinishReason { get; set; }

Unified finish reason.

Value: string

View source

public string? ModelId { get; set; }

Response model id.

Value: string

View source

public JsonElement? ProviderMetadata { get; set; }

Provider metadata.

Value: JsonElement?

View source

public string? RawFinishReason { get; set; }

Raw finish reason.

Value: string

View source

public string? ResponseId { get; set; }

Response id.

Value: string

View source

public DateTime? Timestamp { get; set; }

Response timestamp.

Value: DateTime?

View source

public BatchModelUsage? Usage { get; set; }

Provider usage.

Value: BatchModelUsage

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product