Partager via


AIProjectsModelFactory.VectorStoreFileBatch Method

Definition

Initializes a new instance of VectorStoreFileBatch.

public static Azure.AI.Projects.VectorStoreFileBatch VectorStoreFileBatch (string id = default, Azure.AI.Projects.VectorStoreFileBatchObject object = default, DateTimeOffset createdAt = default, string vectorStoreId = default, Azure.AI.Projects.VectorStoreFileBatchStatus status = default, Azure.AI.Projects.VectorStoreFileCount fileCounts = default);
static member VectorStoreFileBatch : string * Azure.AI.Projects.VectorStoreFileBatchObject * DateTimeOffset * string * Azure.AI.Projects.VectorStoreFileBatchStatus * Azure.AI.Projects.VectorStoreFileCount -> Azure.AI.Projects.VectorStoreFileBatch
Public Shared Function VectorStoreFileBatch (Optional id As String = Nothing, Optional object As VectorStoreFileBatchObject = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional vectorStoreId As String = Nothing, Optional status As VectorStoreFileBatchStatus = Nothing, Optional fileCounts As VectorStoreFileCount = Nothing) As VectorStoreFileBatch

Parameters

id
String

The identifier, which can be referenced in API endpoints.

object
VectorStoreFileBatchObject

The object type, which is always vector_store.file_batch.

createdAt
DateTimeOffset

The Unix timestamp (in seconds) for when the vector store files batch was created.

vectorStoreId
String

The ID of the vector store that the file is attached to.

status
VectorStoreFileBatchStatus

The status of the vector store files batch, which can be either in_progress, completed, cancelled or failed.

fileCounts
VectorStoreFileCount

Files count grouped by status processed or being processed by this vector store.

Returns

A new VectorStoreFileBatch instance for mocking.

Applies to