BatchItemResult
Namespace: Vercel.AI.Operations
public sealed class BatchItemResultNormalized batch item.
Inheritance: object
Properties
Section titled “Properties”Content
Section titled “Content”public IReadOnlyList<BatchContentPart>? Content { get; set; }Text content.
Value: IReadOnlyList<BatchContentPart>
ErrorCode
Section titled “ErrorCode”public string? ErrorCode { get; set; }Error code.
Value: string
ErrorMessage
Section titled “ErrorMessage”public string? ErrorMessage { get; set; }Error message.
Value: string
ErrorStatusCode
Section titled “ErrorStatusCode”public int? ErrorStatusCode { get; set; }HTTP status code of a failed provider response.
Value: int?
ErrorType
Section titled “ErrorType”public string? ErrorType { get; set; }Error type reported by the provider.
Value: string
FinishReason
Section titled “FinishReason”public string? FinishReason { get; set; }Finish reason.
Value: string
public string Id { get; set; }Request id.
Value: string
ImageUsage
Section titled “ImageUsage”public OperationUsage? ImageUsage { get; set; }Image usage.
Value: OperationUsage
Images
Section titled “Images”public IReadOnlyList<GeneratedImage>? Images { get; set; }Images.
Value: IReadOnlyList<GeneratedImage>
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
ResponseModelId
Section titled “ResponseModelId”public string? ResponseModelId { get; set; }Response model id.
Value: string
Status
Section titled “Status”public string Status { get; set; }Status.
Value: string
public string? Text { get; set; }Joined text.
Value: string
Timestamp
Section titled “Timestamp”public DateTime? Timestamp { get; set; }Response timestamp.
Value: DateTime?
public string Type { get; set; }Item type.
Value: string
public BatchUsage? Usage { get; set; }Text usage.
Value: BatchUsage
Warnings
Section titled “Warnings”public IReadOnlyList<OperationWarning>? Warnings { get; set; }Image warnings.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product