class

OpenAI::CreateVectorStoreRequest

Inherits JSON::Serializable < Reference < Object

Constructors

new(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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

chunking_strategy
Source
chunking_strategy=(chunking_strategy : ChunkingStrategyRequestParam | Nil)
Source
description

A description for the vector store. Can be used to describe the vector store's purpose.

Source
description=(description : String | Nil)

A description for the vector store. Can be used to describe the vector store's purpose.

Source
expires_after
Source
expires_after=(expires_after : VectorStoreExpirationAfter | Nil)
Source
file_ids

A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.

Source
file_ids=(file_ids : Array(String) | Nil)

A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.

Source
metadata
Source
metadata=(metadata : Metadata | Nil)
Source
name

The name of the vector store.

Source
name=(name : String | Nil)

The name of the vector store.

Source