Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Gemini::Interactions::InteractionInput
Inherits
Struct
<
Value
<
Object
Constructors
new
(kind :
Kind
, text :
String
|
Nil
= nil, content :
Content
|
Nil
= nil, turns :
Array
(
Turn
) |
Nil
= nil, contents :
Array
(
Content
) |
Nil
= nil)
Source
turns
(turns :
Array
(
Turn
)) : self
Source
Instance methods
content
Source
contents
Source
kind
Source
text
Source
to_json
(json :
JSON::Builder
) :
Nil
Source
turns
Source
Nested types
Crig::Providers::Gemini::Interactions::InteractionInput::Kind