class

OpenAI::MessageObjectAttachmentsItem

Inherits JSON::Serializable < Reference < Object

Constructors

new(file_id : String | Nil = nil, tools : Array(MessageObjectAttachmentsItemToolsItem) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

file_id

The ID of the file to attach to the message.

Source
file_id=(file_id : String | Nil)

The ID of the file to attach to the message.

Source
tools

The tools to add this file to.

Source
tools=(tools : Array(MessageObjectAttachmentsItemToolsItem) | Nil)

The tools to add this file to.

Source