Google::GenerativeAI::Client
Inherits Reference < Object
Constructors
Instance methods
files
Sourceget(path : String, headers : HTTP::Headers | Nil = nil, *, retries : Int = 5, return type : T.class) forall T
Sourceget(path : String, headers : HTTP::Headers | Nil = nil, *, body, retries : Int = 3, return type : T.class) forall T
Sourcemodel(name : String, system_instruction = nil, temperature : Float64 | Nil = nil, response_schema = nil)
Sourcemodels(page_size : Int | Nil = nil, page_token : String | Nil = nil, response_schema = nil)
Sourcepost(path : String, headers : HTTP::Headers | Nil = nil, *, retries : Int = 5, return type : T.class) forall T
Sourcepost(path : String, headers : HTTP::Headers | Nil = nil, *, body, retries : Int = 3, return type : T.class) forall T
Source