BatchTextGeneration
Namespace: Vercel.AI.Operations
public sealed class BatchTextGenerationA provider text generation inside a batch item.
Inheritance: object
Properties
Section titled “Properties”Content
Section titled “Content”public IReadOnlyList<BatchContentPart> Content { get; set; }Content parts.
Value: IReadOnlyList<BatchContentPart>
FinishReason
Section titled “FinishReason”public string? FinishReason { get; set; }Unified finish reason.
Value: string
ModelId
Section titled “ModelId”public string? ModelId { get; set; }Response model id.
Value: string
ProviderMetadata
Section titled “ProviderMetadata”public JsonElement? ProviderMetadata { get; set; }Provider metadata.
Value: JsonElement?
RawFinishReason
Section titled “RawFinishReason”public string? RawFinishReason { get; set; }Raw finish reason.
Value: string
ResponseId
Section titled “ResponseId”public string? ResponseId { get; set; }Response id.
Value: string
Timestamp
Section titled “Timestamp”public DateTime? Timestamp { get; set; }Response timestamp.
Value: DateTime?
public BatchModelUsage? Usage { get; set; }Provider usage.
Value: BatchModelUsage
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product