OpenAI::VectorStoreObject
Inherits JSON::Serializable < Reference < Object
A vector store is a collection of processed files can be used by the file_search tool.
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : String = "", object : VectorStoreObjectObject = VectorStoreObjectObject::VectorStore, created_at : Int64 = 0, name : String = "", usage_bytes : Int64 = 0, file_counts : VectorStoreObjectFileCounts = VectorStoreObjectFileCounts.new, status : VectorStoreObjectStatus = VectorStoreObjectStatus::Expired, expires_after : VectorStoreExpirationAfter | Nil = nil, expires_at : VectorStoreObjectExpiresAt | Nil = nil, last_active_at : VectorStoreObjectLastActiveAt = nil, metadata : Metadata = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_at=(created_at : Int64)
The Unix timestamp (in seconds) for when the vector store was created.
expires_after
Sourceexpires_after=(expires_after : VectorStoreExpirationAfter | Nil)
Sourceexpires_at
Sourceexpires_at=(expires_at : VectorStoreObjectExpiresAt | Nil)
Sourcefile_counts
Sourcefile_counts=(file_counts : VectorStoreObjectFileCounts)
Sourcelast_active_at
Sourcelast_active_at=(last_active_at : VectorStoreObjectLastActiveAt)
Sourcemetadata
Sourcemetadata=(metadata : Metadata)
Sourcestatus
The status of the vector store, which can be either expired, in_progress, or completed. A status of completed indicates that the vector store is ready for use.
status=(status : VectorStoreObjectStatus)
The status of the vector store, which can be either expired, in_progress, or completed. A status of completed indicates that the vector store is ready for use.