You are here: Home / LBN / Up2date / Data Science / BastionLinux 36 / python3-langchain-google-vertexai-2.0.7-1.lbn36.noarch

python3-langchain-google-vertexai-2.0.7-1.lbn36.noarch

Package Attributes
RPM  python3-langchain-google-vertexai-2.0.7-1.lbn36.noarch.rpm Architecture  noarch Size  645774 Created  2025/05/13 02:04:21 UTC
Package Specification
Summary An integration package connecting Google VertexAI and LangChain
Group Unspecified
License ZPL
Home Page https://pypi.org/project/langchain-google-vertexai
Description

langchain-google-vertexai This package contains the LangChain integrations for Google Cloud generative models. Installation pip install -U langchain-google-vertexai

Chat Models ChatVertexAI class exposes models such as gemini-pro and chat-bison. To use, you should have Google Cloud project with APIs enabled, and configured credentials. Initialize the model as: from langchain_google_vertexai import ChatVertexAI

llm = ChatVertexAI(model_name="gemini-pro") llm.invoke("Sing a ballad of LangChain.")

You can use other models, e.g. chat-bison: from langchain_google_vertexai import ChatVertexAI

llm = ChatVertexAI(model_name="chat-bison", temperature=0.3) llm.invoke("Sing a ballad of LangChain.")

Multimodal inputs Gemini vision model supports image inputs when providing a single chat message. Example: from langchain_core.messages import HumanMessage from langchain_google_vertexai import ChatVertexAI

llm = ChatVertexAI(model_name="gemini-pro-vision")

message = HumanMessage( c

Requires
rpmlib(PayloadIsZstd)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
Provides
python-langchain-google-vertexai
python3-langchain-google-vertexai
python3.10-langchain-google-vertexai
python3.10dist(langchain-google-vertexai)
python3dist(langchain-google-vertexai)
Obsoletes
python-langchain-google-vertexai

Document Actions