class

LLM::OpenAI::Content::FileData

Inherits LLM::OpenAI::Content < JSON::Serializable < Reference < Object

Represents file content within a message to the LLM

Constructors

new(base64_data, file_name)
Source
new(pull : JSON::PullParser)

Represents file content within a message to the LLM

Source

Instance methods

emit

Emit this content as one or more ChatEvent objects

Source
file
Source
file=(file : Hash(String, String))
Source