IOpenAIClient.GetVectorStoreFileBatchFilesAsync

IOpenAIClient.GetVectorStoreFileBatchFilesAsync metodu

Belirli bir vektör depolama dosyası grubundaki dosyaların listesini asenkron olarak alır.

public Task<VectorStoreFileListResponse> GetVectorStoreFileBatchFilesAsync(string vectorStoreId, 
    string fileBatchId, VectorStoreFileBatchFileListQueryParameters queryParameters = null, 
    CancellationToken? cancellationToken = default)
ParametreTürAçıklama
vectorStoreIdStringDosya grubunu içeren vektör depolamanın ID’si.
fileBatchIdStringDosyaların alınacağı dosya grubunun ID’si.
queryParametersVectorStoreFileBatchFileListQueryParametersDosya listesini filtrelemek için isteğe bağlı sorgu parametreleri.
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 grubundaki dosyaların listesini içerir.

İstisnalar

istisnadurum
AIClientExceptionVektör depolama ID’si null veya boş olduğunda fırlatılır.
AIClientExceptionVektör depolama dosya grubu ID’si null veya boş olduğunda fırlatılır.

Ayrıca Bakınız