OpenAI::VectorStoreExpirationAfter
Inherits JSON::Serializable < Reference < Object
The expiration policy for a vector store.
Constructors
new(pull : JSON::PullParser)
Sourcenew(anchor : VectorStoreExpirationAfterAnchor = VectorStoreExpirationAfterAnchor::LastActiveAt, days : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
anchor
Anchor timestamp after which the expiration policy applies. Supported anchors: last_active_at.
anchor=(anchor : VectorStoreExpirationAfterAnchor)
Anchor timestamp after which the expiration policy applies. Supported anchors: last_active_at.
days=(days : Int64)
The number of days after the anchor time that the vector store will expire.
validate!
Source