Skip to content

BatchListResult

Namespace: Vercel.AI.Operations

public sealed class BatchListResult

A page of batches.

Inheritance: object

View source

BatchListResult(IReadOnlyList<ListedBatch>, string?, JsonElement?)

Section titled “BatchListResult(IReadOnlyList<ListedBatch>, string?, JsonElement?)”
public BatchListResult(IReadOnlyList<ListedBatch> batches, string? nextCursor = null, JsonElement? providerMetadata = null)

Creates a page.

Parameters

Name Type Description
batches IReadOnlyList<ListedBatch>
nextCursor string
providerMetadata JsonElement?

View source

public IReadOnlyList<ListedBatch> Batches { get; }

Batches.

Value: IReadOnlyList<ListedBatch>

View source

public string? NextCursor { get; }

Next page cursor.

Value: string

View source

public JsonElement? ProviderMetadata { get; }

Provider metadata.

Value: JsonElement?

View source

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