OpenAIClient.CreateVectorStoreFileBatchAsync

OpenAIClient.CreateVectorStoreFileBatchAsync metodu

Yeni bir vektör mağaza dosya grubunu asenkron olarak oluşturur.

public Task<VectorStoreFileBatchResponse> CreateVectorStoreFileBatchAsync(string vectorStoreId, 
    VectorStoreFileBatchCreateRequest vectorStoreFileCreateRequest, 
    CancellationToken? cancellationToken = default)
ParametreTürAçıklama
vectorStoreIdStringDosya grubunun oluşturulacağı vektör mağazasının kimliği.
vectorStoreFileCreateRequestVectorStoreFileBatchCreateRequestDosya grubunu oluşturmak için ayrıntıları içeren istek nesnesi.
cancellationTokenNullable`1İşlemi iptal etmek için bir token.

Dönüş Değeri

Asenkron işlemi temsil eden bir görev. Görev sonucu, dosya grubu oluşturma yanıtını içerir.

İstisnalar

istisnadurum
AIClientExceptionVektör mağaza kimliği null veya boş olduğunda fırlatılır.

Ayrıca Bakınız