class

OpenAI::CreateVectorStoreFileRequest

Inherits JSON::Serializable < Reference < Object

Constructors

new(file_id : String = "", chunking_strategy : ChunkingStrategyRequestParam | Nil = nil, attributes : VectorStoreFileAttributes | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

attributes
Source
attributes=(attributes : VectorStoreFileAttributes | Nil)
Source
chunking_strategy
Source
chunking_strategy=(chunking_strategy : ChunkingStrategyRequestParam | Nil)
Source
file_id

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

Source
file_id=(file_id : String)

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

Source