Class BatchRequest
Creates and executes a batch from an uploaded file of requests
public class BatchRequest : AIRequest
- Inheritance
-
objectBatchRequest
- Inherited Members
Properties
BatchEndpoint
[Required] The endpoint to be used for all requests in the batch. Currently, /v1/chat/completions, /v1/embeddings, and /v1/completions are supported. Note that /v1/embeddings batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch.
public string BatchEndpoint { get; set; }
Property Value
- string
CompletionWindow
[Required] The time frame within which the batch should be processed. Currently only 24h is supported.
public string CompletionWindow { get; set; }
Property Value
- string
InputFileId
[Required] The ID of an uploaded file that contains requests for the new batch.
public string InputFileId { get; set; }
Property Value
- string