class

OpenAI::VectorStoreFileContentResponse

Inherits JSON::Serializable < Reference < Object

Represents the parsed content of a vector store file.

Constructors

new(object : VectorStoreFileContentResponseObject = VectorStoreFileContentResponseObject::VectorStoreFileContentPage, data : Array(VectorStoreFileContentResponseDataItem) = [] of VectorStoreFileContentResponseDataItem, has_more : Bool = false, next_page : VectorStoreFileContentResponseNextPage = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data

Parsed content of the file.

Source
data=(data : Array(VectorStoreFileContentResponseDataItem))

Parsed content of the file.

Source
has_more

Indicates if there are more content pages to fetch.

Source
has_more=(has_more : Bool)

Indicates if there are more content pages to fetch.

Source
next_page
Source
next_page=(next_page : VectorStoreFileContentResponseNextPage)
Source
object

The object type, which is always vector_store.file_content.page

Source
object=(object : VectorStoreFileContentResponseObject)

The object type, which is always vector_store.file_content.page

Source