class

OpenAI::VectorStoreFileBatchObject

Inherits JSON::Serializable < Reference < Object

A batch of files attached to a vector store.

Constructors

new(id : String = "", object : VectorStoreFileBatchObjectObject = VectorStoreFileBatchObjectObject::VectorStoreFilesBatch, created_at : Int64 = 0, vector_store_id : String = "", status : VectorStoreFileBatchObjectStatus = VectorStoreFileBatchObjectStatus::InProgress, file_counts : VectorStoreFileBatchObjectFileCounts = VectorStoreFileBatchObjectFileCounts.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

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

Source
created_at=(created_at : Int64)

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

Source
file_counts
Source
file_counts=(file_counts : VectorStoreFileBatchObjectFileCounts)
Source
id

The identifier, which can be referenced in API endpoints.

Source
id=(id : String)

The identifier, which can be referenced in API endpoints.

Source
object

The object type, which is always vector_store.file_batch.

Source
object=(object : VectorStoreFileBatchObjectObject)

The object type, which is always vector_store.file_batch.

Source
status

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

Source
status=(status : VectorStoreFileBatchObjectStatus)

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

Source
vector_store_id

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

Source
vector_store_id=(vector_store_id : String)

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

Source