gemini-1.5-pro
and gemini-2.0-flex
through the ChatGoogleGenerativeAI
,
or if using VertexAI, via the ChatVertexAI
class.
@langchain/google-genai
specific integration docsimage_url
must be a base64 encoded image (e.g., data:image/png;base64,abcd124
).
gemma-3-27b-it
model through AI Studio using the ChatGoogle
class.
(This class is a superclass of the ChatVertexAI
class that works with both Vertex AI and the AI Studio APIs.)
Vertex AI Vector Search, formerly known as Vertex AI Matching Engine, provides the industry’s leading high-scale low latency vector database. These vector databases are commonly referred to as vector similarity-matching or an approximate nearest neighbor (ANN) service.
@langchain/google-cloud-sql-pg
package provides a way to use the CloudSQL for PostgresSQL to store
vector embeddings using the class.
GOOGLE_API_KEY
and GOOGLE_CSE_ID
respectivelyGoogleCustomSearch
utility which wraps this API. To import this utility:
@langchain/google-cloud-sql-pg
package provides a way to use the CloudSQL for PostgresSQL to store messages and provide conversation history.
@langchain/google-cloud-sql-pg
provides a way to use the CloudSQL for PostgresSQL to load data as LangChain Document
s.
Note: See the [Postgres Vector Store](#Postgres Vector Store) section on this page to learn
how to install the package and initialize a DB connection.
Create a loader instance: