@google/generative-ai
Advanced tools
Changelog
0.21.0
Changelog
0.20.0
frequencyPenalty
, presencePenalty
, responseLogprobs
, and logProbs
parameters support for generationConfig
. Added avgLogprobs
and logprobsResult
to GenerateContentResponse
. Updated test cases.Changelog
0.19.0
Changelog
0.18.0
Changelog
0.17.2
Changelog
0.16.1
This is a cherry-picked patch to fix an bug for users pinned to versions 0.16.x.
requestOptions
in startChat
.Changelog
0.17.1
requestOptions
in startChat
.Changelog
0.17.0
Schema
type to reference itself and not a derived type in its items
array and properties
map.Changelog
0.16.0
SingleRequestOptions
with AbortSignal
support to most of the asynchronous methods of GenerativeModel
, GoogleAIFileManager
and ChatSession
.Changelog
0.15.0