Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.64 KB

File metadata and controls

15 lines (12 loc) · 1.64 KB

Cloud SQL for PostgreSQL for LangChain Resources

This directory provides code samples to help you get started with LangChain and Cloud SQL for PostgreSQL.

Guides & Samples

Sample Description
Langchain Quick Start This codelab demonstrates how to create a powerful interactive GenAI application using Retrieval Augmented Generation (RAG) powered by CloudSQLfor PostgreSQL and LangChain.
Get Started: PostgresVectorStore This notebook goes over how to use Cloud SQL for PostgreSQL to store vector embeddings with the PostgresVectorStore class.
Get Started: PostgresLoader This notebook goes over how to use Cloud SQL for PostgreSQL to load Documents with the PostgresLoader class.
Get Started: PostgresChatMessageHistory This notebook goes over how to use Cloud SQL for PostgreSQL to store chat message history with the PostgresChatMessageHistory class.
How to Choose a Nearest-Neighbor Index Guide This guide outlines different indexing strategies for approximate nearest neighbor (ANN) search.
Index Tuning Sample This guide demonstrates how to fine-tune your LangChain PostgreSQL index for better vector similarity search results.
Langchain on VertexAI This guide explains how to build and deploy LangChain apps to a managed Reasoning Engine runtime using LangChain on Vertex AI.