BatchRequestOptions
Namespace: Vercel.AI.Operations
public sealed class BatchRequestOptions : OperationRequestOptions for batch operations.
Inheritance: object → OperationRequest
Properties
Section titled “Properties”public BatchReference? Batch { get; set; }Batch reference.
Value: BatchReference
Cursor
Section titled “Cursor”public string? Cursor { get; set; }Page cursor.
Value: string
Download
Section titled “Download”public Func<string, CancellationToken, Task<DownloadedMedia>>? Download { get; set; }Downloads file URLs inside results.
Value: Func<string, CancellationToken, Task<DownloadedMedia>>
public int? Limit { get; set; }Page size.
Value: int?
Provider
Section titled “Provider”public ApiOrProvider<IBatchApi, IBatchProvider>? Provider { get; set; }Batch API or a provider that exposes one. Null uses Default.
Value: ApiOrProvider<IBatchApi, IBatchProvider>
Requests
Section titled “Requests”public IReadOnlyList<BatchRequest>? Requests { get; set; }Requests to start.
Value: IReadOnlyList<BatchRequest>
TimeoutMs
Section titled “TimeoutMs”public int? TimeoutMs { get; set; }Total timeout in milliseconds.
Value: int?
public IReadOnlyList<BatchTool>? Tools { get; set; }Tools used to parse client tool calls. They are not executed.
Value: IReadOnlyList<BatchTool>
WebhookUrl
Section titled “WebhookUrl”public string? WebhookUrl { get; set; }Webhook URL.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product