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)
Parametre | Tür | Açıklama |
---|---|---|
vectorStoreId | String | Dosya grubunun oluşturulacağı vektör mağazasının kimliği. |
vectorStoreFileCreateRequest | VectorStoreFileBatchCreateRequest | Dosya grubunu oluşturmak için ayrıntıları içeren istek nesnesi. |
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 grubu oluşturma yanıtını içerir.
İstisnalar
istisna | durum |
---|---|
AIClientException | Vektör mağaza kimliği null veya boş olduğunda fırlatılır. |
Ayrıca Bakınız
- sınıf VectorStoreFileBatchResponse
- sınıf VectorStoreFileBatchCreateRequest
- sınıf OpenAIClient
- ad alanı Aspose.Pdf.AI
- derleme Aspose.PDF