class

OpenAI::TextContent

Inherits JSON::Serializable < Reference < Object

A text content.

Constructors

new(type_value : TextContentType = TextContentType::Text, text : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

text
Source
text=(text : String)
Source
type_value
Source
type_value=(type_value : TextContentType)
Source