- Add support for model side Code Execution. Enable code execution by
configuring
Toolswith acodeExecutionargument. - Use a default role
'model'when a chat response comes back with no role.
Unclaimed project
Are you a maintainer of deprecated-generative-ai-dart? Claim this project to take control of your public changelog and roadmap.
Changelog
This SDK is now deprecated, use the unified Firebase SDK.
Tools with a codeExecution argument.'model' when a chat response comes back with no role.GenerationConfig.responseSchema for constraining JSON mime
type output formats.TextPart into the text String in case the model
replies with more than one part.format argument to Schema.number and Schema.integer.UsageMetadata.GenerateContentRequest (previously omitted
safetySettings, generationConfig, tools, toolConfig, and
systemInstruction) in countTokens requests....CountTokensResponse.Schema for each value type.GenerationConfig.responseMimeType which supports setting
'application/json' to force the model to reply with JSON parseable output.outputDimensionality argument support for embedContent and
batchEmbedContent.Release google_generative_ai-v0.3.3