OpenAIClient.GetVectorStoreFileBatchFilesAsync
OpenAIClient.GetVectorStoreFileBatchFilesAsync metodu
Belirli bir vektör depolama dosya grubundaki dosyaların listesini asenkron olarak alır.
public Task<VectorStoreFileListResponse> GetVectorStoreFileBatchFilesAsync(string vectorStoreId,
string fileBatchId, VectorStoreFileBatchFileListQueryParameters queryParameters = null,
CancellationToken? cancellationToken = default)
| Parametre | Tür | Açıklama |
|---|---|---|
| vectorStoreId | String | Dosya grubunu içeren vektör depolamanın kimliği. |
| fileBatchId | String | Dosyaların alınacağı dosya grubunun kimliği. |
| queryParameters | VectorStoreFileBatchFileListQueryParameters | Dosya listesini filtrelemek için isteğe bağlı sorgu parametreleri. |
| cancellationToken | Nullable`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
| istisna | durum |
|---|---|
| AIClientException | Vektör depolama kimliği null veya boş olduğunda fırlatılır. |
| AIClientException | Vektör depolama dosya grubu kimliği null veya boş olduğunda fırlatılır. |
Ayrıca Bakınız
- sınıf VectorStoreFileListResponse
- sınıf VectorStoreFileBatchFileListQueryParameters
- sınıf OpenAIClient
- ad alanı Aspose.Pdf.AI
- derleme Aspose.PDF