struct

Crig::Providers::Cohere::AssistantContent

Inherits Struct < Value < Object

Constructors

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

Instance methods

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

Nested types