Crig::Providers::Gemini::Interactions::Interaction
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(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)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
agent
Sourcebackground
Sourcecode_execution_call_contents
Sourcecode_execution_exchanges
Sourcecode_execution_outputs
Sourcecode_execution_result_contents
Sourcecode_execution_snippets
Sourcecreated
Sourcegoogle_search_call_contents
Sourcegoogle_search_exchanges
Sourcegoogle_search_queries
Sourcegoogle_search_result_contents
Sourcegoogle_search_results
Sourceid
Sourceinput
Sourcemodel
Sourceobject
Sourceoutputs
Sourceprevious_interaction_id
Sourceresponse_format
Sourceresponse_mime_type
Sourceresponse_modalities
Sourcerole
Sourcestatus
Sourcesystem_instruction
Sourcetext_with_inline_citations
Sourcetoken_usage
Sourcetools
Sourceupdated
Sourceurl_context_call_contents
Sourceurl_context_exchanges
Sourceurl_context_result_contents
Sourceurl_context_results
Sourceurl_context_urls
Sourceusage
Source