Class BatchService
Batch Service: https://platform.openai.com/docs/api-reference/batch
Inheritance
object
BatchService
Namespace: Glitch9.AIDevKit.OpenAI.Services
Assembly: .dll
Syntax
public class BatchService : CRUDService<OpenAI, Batch, BatchRequest, CursorQuery>
Constructors
BatchService(OpenAI)
Declaration
public BatchService(OpenAI client)
Parameters
Type | Name | Description |
---|---|---|
OpenAI | client |
Methods
CancelAsync(string, RequestOptions)
Declaration
public UniTask<Batch> CancelAsync(string objectId, RequestOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
string | objectId | |
RequestOptions | options |
Returns
Type | Description |
---|---|
UniTask<Batch> |