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

@langchain/google-common

Package Overview
Dependencies
Maintainers
5
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/google-common

Core types and classes for Google services.

  • 0.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
63K
decreased by-2.26%
Maintainers
5
Weekly downloads
 
Created
Source

LangChain google-common

This package contains common resources to access Google AI/ML models and other Google services in an auth-independent way.

AI/ML models are supported using the same interface no matter if you are using the Google AI Studio-based version of the model or the Google Cloud Vertex AI version of the model.

Installation

This is not a stand-alone package since it does not contain code to do authorization.

Instead, you should install one of the following packages:

  • @langchain/google-gauth
  • @langchain/google-webauth

See those packages for details about installation.

This package does not depend on any Google library. Instead, it relies on REST calls to Google endpoints. This is deliberate to reduce (sometimes conflicting) dependencies and make it usable on platforms that do not include file storage.

Google services supported

  • Gemini model through LLM and Chat classes (both through Google AI Studio and Google Cloud Vertex AI)

TODO

Tasks and services still to be implemented:

  • Functions for Gemini
  • PaLM Vertex AI support and backwards compatibility
  • PaLM MakerSuite support and backwards compatibility
  • Semantic Retrieval / AQA model
  • PaLM embeddings
  • Gemini embeddings
  • Multimodal embeddings
  • Vertex AI Search
  • Vertex AI Model Garden
  • MakerSuite / Google Drive Hub
  • Google Cloud Vector Store

FAQs

Package last updated on 30 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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