OpenAI::CreateVectorStoreRequest
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(file_ids : Array(String) | Nil = nil, name : String | Nil = nil, description : String | Nil = nil, expires_after : VectorStoreExpirationAfter | Nil = nil, chunking_strategy : ChunkingStrategyRequestParam | Nil = nil, metadata : Metadata | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
chunking_strategy
Sourcechunking_strategy=(chunking_strategy : ChunkingStrategyRequestParam | Nil)
Sourcedescription
A description for the vector store. Can be used to describe the vector store's purpose.
A description for the vector store. Can be used to describe the vector store's purpose.
expires_after
Sourceexpires_after=(expires_after : VectorStoreExpirationAfter | Nil)
Sourcefile_ids
A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.
A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.
metadata
Sourcemetadata=(metadata : Metadata | Nil)
Source