class

LLM::OpenAI::Content::Text

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

Represents text content within a message to the LLM

Constructors

new(pull : JSON::PullParser)

Represents text content within a message to the LLM

Source
new(text : String)
Source

Instance methods

emit

Emit this content as one or more ChatEvent objects

Source
text
Source
text=(text : String)
Source