struct

Crig::Providers::Gemini::Interactions::Interaction

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(id : String = "", model : String | Nil = nil, agent : String | Nil = nil, status : InteractionStatus | Nil = nil, object : String | Nil = nil, created : String | Nil = nil, updated : String | Nil = nil, role : String | Nil = nil, outputs : Array(Content) = [] of Content, usage : InteractionUsage | Nil = nil, system_instruction : String | Nil = nil, tools : Array(Tool) | Nil = nil, background : Bool | Nil = nil, response_modalities : Array(ResponseModality) | Nil = nil, response_format : JSON::Any | Nil = nil, response_mime_type : String | Nil = nil, previous_interaction_id : String | Nil = nil, input : JSON::Any | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

agent
Source
background
Source
code_execution_call_contents
Source
code_execution_exchanges
Source
code_execution_outputs
Source
code_execution_result_contents
Source
code_execution_snippets
Source
created
Source
google_search_call_contents
Source
google_search_exchanges
Source
google_search_queries
Source
google_search_result_contents
Source
google_search_results
Source
input
Source
is_completed

ameba:disable Naming/PredicateName

Source
is_terminal

ameba:disable Naming/PredicateName

Source
model
Source
object
Source
outputs
Source
previous_interaction_id
Source
response_format
Source
response_mime_type
Source
response_modalities
Source
role
Source
status
Source
system_instruction
Source
text_with_inline_citations
Source
token_usage
Source
tools
Source
updated
Source
url_context_call_contents
Source
url_context_exchanges
Source
url_context_result_contents
Source
url_context_results
Source
url_context_urls
Source
usage
Source