struct

Crig::Providers::OpenAI::Chat::UserContent

Inherits Struct < Value < Object

Constructors

audio(data : String, format : String) : self
Source
from_string(text : String) : self
Source
image(url : String, detail : String = "auto") : self
Source
new(kind : Kind, text : String | Nil = nil, image_url : ImageUrl | Nil = nil, input_audio : InputAudio | Nil = nil)
Source
text(text : String) : self
Source

Instance methods

image_url
Source
input_audio
Source
kind
Source
text
Source
to_json_value
Source

Nested types