Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google/generative-ai

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google/generative-ai - npm Package Versions

234

0.21.0

Diff

Changelog

Source

0.21.0

Minor Changes

  • 8543716: Add search grounding feature to SDK.
google-wombot
published 0.20.0 •

Changelog

Source

0.20.0

Minor Changes

  • dda0b5c: Add frequencyPenalty, presencePenalty, responseLogprobs, and logProbs parameters support for generationConfig. Added avgLogprobs and logprobsResult to GenerateContentResponse. Updated test cases.
google-wombot
published 0.19.0 •

Changelog

Source

0.19.0

Minor Changes

  • 00dc7a1: Use lowercase SchemaType enum values to match json-schema.
google-wombot
published 0.18.0 •

Changelog

Source

0.18.0

Minor Changes

  • fc008a1: Add ability to set modelParams (generationConfig, safetySettings) on getGenerativeModelFromCachedContent().
google-wombot
published 0.17.2 •

Changelog

Source

0.17.2

Patch Changes

  • d8f6b4f: Fix language marker in text helper for executable code results.
google-wombot
published 0.16.1 •

Changelog

Source

0.16.1

This is a cherry-picked patch to fix an bug for users pinned to versions 0.16.x.

Patch Changes

  • fdfb5bd: Fix reference to requestOptions in startChat.
google-wombot
published 0.17.1 •

Changelog

Source

0.17.1

Patch Changes

  • fdfb5bd: Fix reference to requestOptions in startChat.
google-wombot
published 0.17.0 •

Changelog

Source

0.17.0

Minor Changes

  • 3b5daae: Fix Schema type to reference itself and not a derived type in its items array and properties map.
google-wombot
published 0.16.0 •

Changelog

Source

0.16.0

Minor Changes

  • d2d42ca: Adds SingleRequestOptions with AbortSignal support to most of the asynchronous methods of GenerativeModel, GoogleAIFileManager and ChatSession.
google-wombot
published 0.15.0 •

Changelog

Source

0.15.0

Minor Changes

  • 05b8631: Add FinishReason.LANGUAGE enum value.

Patch Changes

  • e87d5b0: Fix countTokens to include any params set on the model instance.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc