A list of files attached to a vector store.
Constructors
new(id :
String = "", object :
VectorStoreFileObjectObject =
VectorStoreFileObjectObject::VectorStoreFile, usage_bytes :
Int64 = 0, created_at :
Int64 = 0, vector_store_id :
String = "", status :
VectorStoreFileObjectStatus =
VectorStoreFileObjectStatus::InProgress, last_error :
VectorStoreFileObjectLastError = nil, chunking_strategy :
ChunkingStrategyResponse |
Nil = nil, attributes :
VectorStoreFileAttributes |
Nil = nil)
SourceInstance methods
attributes=(attributes : VectorStoreFileAttributes | Nil)
Sourcechunking_strategy=(chunking_strategy : ChunkingStrategyResponse | Nil)
Sourcecreated_at
The Unix timestamp (in seconds) for when the vector store file was created.
Sourcecreated_at=(created_at :
Int64)
The Unix timestamp (in seconds) for when the vector store file was created.
Sourceid
The identifier, which can be referenced in API endpoints.
SourceThe identifier, which can be referenced in API endpoints.
Sourcelast_error=(last_error : VectorStoreFileObjectLastError)
Sourceobject
The object type, which is always vector_store.file.
Sourceobject=(object : VectorStoreFileObjectObject)
The object type, which is always vector_store.file.
Sourcestatus
The status of the vector store file, which can be either in_progress, completed, cancelled, or failed. The status completed indicates that the vector store file is ready for use.
Sourcestatus=(status : VectorStoreFileObjectStatus)
The status of the vector store file, which can be either in_progress, completed, cancelled, or failed. The status completed indicates that the vector store file is ready for use.
Sourceusage_bytes
The total vector store usage in bytes. Note that this may be different from the original file size.
Sourceusage_bytes=(usage_bytes :
Int64)
The total vector store usage in bytes. Note that this may be different from the original file size.
Source