honnuanand / vertexai_langchain

experiments with Vertex AI and LangChain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vertex AI experiments with LangChain

  • Basic experiments using LangChain with Vertex AI
  • hello world example, based on LangChain documentation shows how you can invoke the PaLM 2 model in the context of Vertex AI.
  • To run this example directly from Cloud Shell, enable the Vertex AI API in the project you are using and install the prerequisites:
pip install langchain
pip install 'google-cloud-aiplatform>=1.25.0'

About

experiments with Vertex AI and LangChain


Languages

Language:Python 100.0%