Table of Contents

Class VectorStoreFilesBatchService

public class VectorStoreFilesBatchService : CrudServiceBase<OpenAIClient>, IBetaApi
Inheritance
object
VectorStoreFilesBatchService
Implements
IBetaApi

Constructors

VectorStoreFilesBatchService(OpenAIClient)

public VectorStoreFilesBatchService(OpenAIClient client)

Parameters

client OpenAIClient

Methods

CancelAsync(string, string, RESTOptions)

public UniTask<VectorStoreFilesBatch> CancelAsync(string vectorStoreId, string batchId, RESTOptions options = null)

Parameters

vectorStoreId string
batchId string
options RESTOptions

Returns

UniTask<VectorStoreFilesBatch>

CreateAsync(string, VectorStoreFilesBatchRequest)

public UniTask<VectorStoreFilesBatch> CreateAsync(string vectorStoreId, VectorStoreFilesBatchRequest req)

Parameters

vectorStoreId string
req VectorStoreFilesBatchRequest

Returns

UniTask<VectorStoreFilesBatch>

ListAsync(string, CursorQuery, RESTOptions)

public UniTask<QueryResponse<VectorStoreFilesBatch>> ListAsync(string vectorStoreId, CursorQuery query = null, RESTOptions options = null)

Parameters

vectorStoreId string
query CursorQuery
options RESTOptions

Returns

UniTask<QueryResponse<VectorStoreFilesBatch>>

Retrieve(string, string, RESTOptions)

public UniTask<VectorStoreFilesBatch> Retrieve(string vectorStoreId, string batchId, RESTOptions options = null)

Parameters

vectorStoreId string
batchId string
options RESTOptions

Returns

UniTask<VectorStoreFilesBatch>