struct

Crig::Providers::Gemini::Part

Inherits Struct < Value < Object

Constructors

from_assistant_content(content : Crig::Completion::AssistantContent) : self
Source
from_user_content(content : Crig::Completion::UserContent) : self
Source
new(part : PartKind, thought : Bool | Nil = nil, thought_signature : String | Nil = nil, additional_params : JSON::Any | Nil = nil)
Source
text(text : String) : self
Source

Instance methods

additional_params
Source
part
Source
thought
Source
thought_signature
Source
to_json(json : JSON::Builder) : Nil
Source