Class BatchRequestInput
The per-line object of the batch input file
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public class BatchRequestInput
Properties
| Edit this page View SourceCustomId
A developer-provided per-request id that will be used to match outputs to inputs. Must be unique for each request in a batch.
Declaration
[JsonProperty("custom_id")]
public string CustomId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Method
The HTTP method to be used for the request. Currently only POST is supported.
Declaration
[JsonProperty("method")]
public string Method { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Url
The OpenAI API relative URL to be used for the request. Currently, /v1/chat/completions, /v1/embeddings, and /v1/completions are supported.
Declaration
[JsonProperty("url")]
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |