struct

Crig::Providers::Cohere::UserContent

Inherits Struct < Value < Object

Constructors

from_json_value(value : JSON::Any) : self
Source
image_url(url : String) : self
Source
new(kind : Kind, text : String | Nil = nil, image_url : ImageUrl | Nil = nil)
Source
text(text : String) : self
Source

Instance methods

image_url
Source
kind
Source
text
Source
to_json(json : JSON::Builder) : Nil
Source

Nested types