class

LLM::OpenAI::Content

Inherits JSON::Serializable < Reference < Object

Represents content within a message to the LLM

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

emit

Emit this content as one or more ChatEvent objects

Source
type
Source
type=(type : String)
Source

Nested types