Skip to content

NormalizedBatchRequest

Namespace: Vercel.AI.Operations

public sealed class NormalizedBatchRequest

Normalized request sent to doStartBatch.

Inheritance: object

View source

NormalizedBatchRequest(string, string, string, JsonElement)

Section titled “NormalizedBatchRequest(string, string, string, JsonElement)”
public NormalizedBatchRequest(string id, string type, string modelId, JsonElement options)

Creates a normalized request.

Parameters

Name Type Description
id string
type string
modelId string
options JsonElement

View source

public string Id { get; }

Request id.

Value: string

View source

public string ModelId { get; }

Model id.

Value: string

View source

public JsonElement Options { get; }

Normalized options.

Value: JsonElement

View source

public string Type { get; }

Request type.

Value: string

View source

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