VectorStoreFileBatch Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. VectorStoreFileBatch
- com.
Implements
public final class VectorStoreFileBatch
implements JsonSerializable<VectorStoreFileBatch>
A batch of files attached to a vector store.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Vector |
fromJson(JsonReader jsonReader)
Reads an instance of Vector |
|
Offset |
getCreatedAt()
Get the created |
|
Vector |
getFileCounts()
Get the file |
| String |
getId()
Get the id property: The identifier, which can be referenced in API endpoints. |
| String |
getObject()
Get the object property: The object type, which is always `vector_store. |
|
Vector |
getStatus()
Get the status property: The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`. |
| String |
getVectorStoreId()
Get the vector |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static VectorStoreFileBatch fromJson(JsonReader jsonReader)
Reads an instance of VectorStoreFileBatch from the JsonReader.
Parameters:
Returns:
Throws:
getCreatedAt
public OffsetDateTime getCreatedAt()
Get the createdAt property: The Unix timestamp (in seconds) for when the vector store files batch was created.
Returns:
getFileCounts
public VectorStoreFileCount getFileCounts()
Get the fileCounts property: Files count grouped by status processed or being processed by this vector store.
Returns:
getId
public String getId()
Get the id property: The identifier, which can be referenced in API endpoints.
Returns:
getObject
public String getObject()
Get the object property: The object type, which is always `vector_store.file_batch`.
Returns:
getStatus
public VectorStoreFileBatchStatus getStatus()
Get the status property: The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`.
Returns:
getVectorStoreId
public String getVectorStoreId()
Get the vectorStoreId property: The ID of the vector store that the file is attached to.
Returns: