!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}return t}()||function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}(),document.documentElement.setAttribute("data-announcement-bar-initially-dismissed",function(){try{return"true"===localStorage.getItem("docusaurus.announcement.dismiss")}catch(t){}return!1}())

[Skip to main content](#__docusaurus_skipToContent_fallback)

You are viewing the **preview** v0.2 docs. View the **stable** v0.1 docs [here](/v0.1/docs/get_started/introduction/). Leave feedback on the v0.2 docs [here](https://github.com/langchain-ai/langchainjs/discussions/5386).

[

![🦜️🔗 Langchain](/v0.2/img/brand/wordmark.png)![🦜️🔗 Langchain](/v0.2/img/brand/wordmark-dark.png)

](/v0.2/)[Integrations](/v0.2/docs/integrations/platforms/)[API Reference](https://v02.api.js.langchain.com)

[More](#)

*   [People](/v0.2/docs/people/)
*   [Community](/v0.2/docs/community)
*   [Tutorials](/v0.2/docs/additional_resources/tutorials)
*   [Contributing](/v0.2/docs/contributing)

[v0.2](#)

*   [v0.2](/v0.2/docs/introduction)
*   [v0.1](https://js.langchain.com/v0.1/docs/get_started/introduction)

[🦜🔗](#)

*   [LangSmith](https://smith.langchain.com)
*   [LangSmith Docs](https://docs.smith.langchain.com)
*   [LangChain Hub](https://smith.langchain.com/hub)
*   [LangServe](https://github.com/langchain-ai/langserve)
*   [Python Docs](https://python.langchain.com/)

[Chat](https://chatjs.langchain.com)[](https://github.com/langchain-ai/langchainjs)

Search

*   [Providers](/v0.2/docs/integrations/platforms/)
    
    *   [Providers](/v0.2/docs/integrations/platforms/)
    *   [Anthropic](/v0.2/docs/integrations/platforms/anthropic)
    *   [AWS](/v0.2/docs/integrations/platforms/aws)
    *   [Google](/v0.2/docs/integrations/platforms/google)
    *   [Microsoft](/v0.2/docs/integrations/platforms/microsoft)
    *   [OpenAI](/v0.2/docs/integrations/platforms/openai)
*   [Components](/v0.2/docs/integrations/components)
    
    *   [Chat models](/v0.2/docs/integrations/chat/)
        
    *   [LLMs](/v0.2/docs/integrations/llms/)
        
    *   [Embedding models](/v0.2/docs/integrations/text_embedding)
        
    *   [Document loaders](/v0.2/docs/integrations/document_loaders)
        
    *   [Document transformers](/v0.2/docs/integrations/document_transformers)
        
    *   [Vector stores](/v0.2/docs/integrations/vectorstores)
        
        *   [Memory](/v0.2/docs/integrations/vectorstores/memory)
        *   [AnalyticDB](/v0.2/docs/integrations/vectorstores/analyticdb)
        *   [Astra DB](/v0.2/docs/integrations/vectorstores/astradb)
        *   [Azure AI Search](/v0.2/docs/integrations/vectorstores/azure_aisearch)
        *   [Azure Cosmos DB](/v0.2/docs/integrations/vectorstores/azure_cosmosdb)
        *   [Cassandra](/v0.2/docs/integrations/vectorstores/cassandra)
        *   [Chroma](/v0.2/docs/integrations/vectorstores/chroma)
        *   [ClickHouse](/v0.2/docs/integrations/vectorstores/clickhouse)
        *   [CloseVector](/v0.2/docs/integrations/vectorstores/closevector)
        *   [Cloudflare Vectorize](/v0.2/docs/integrations/vectorstores/cloudflare_vectorize)
        *   [Convex](/v0.2/docs/integrations/vectorstores/convex)
        *   [Couchbase](/v0.2/docs/integrations/vectorstores/couchbase)
        *   [Elasticsearch](/v0.2/docs/integrations/vectorstores/elasticsearch)
        *   [Faiss](/v0.2/docs/integrations/vectorstores/faiss)
        *   [Google Vertex AI Matching Engine](/v0.2/docs/integrations/vectorstores/googlevertexai)
        *   [SAP HANA Cloud Vector Engine](/v0.2/docs/integrations/vectorstores/hanavector)
        *   [HNSWLib](/v0.2/docs/integrations/vectorstores/hnswlib)
        *   [LanceDB](/v0.2/docs/integrations/vectorstores/lancedb)
        *   [Milvus](/v0.2/docs/integrations/vectorstores/milvus)
        *   [Momento Vector Index (MVI)](/v0.2/docs/integrations/vectorstores/momento_vector_index)
        *   [MongoDB Atlas](/v0.2/docs/integrations/vectorstores/mongodb_atlas)
        *   [MyScale](/v0.2/docs/integrations/vectorstores/myscale)
        *   [Neo4j Vector Index](/v0.2/docs/integrations/vectorstores/neo4jvector)
        *   [Neon Postgres](/v0.2/docs/integrations/vectorstores/neon)
        *   [OpenSearch](/v0.2/docs/integrations/vectorstores/opensearch)
        *   [PGVector](/v0.2/docs/integrations/vectorstores/pgvector)
        *   [Pinecone](/v0.2/docs/integrations/vectorstores/pinecone)
        *   [Prisma](/v0.2/docs/integrations/vectorstores/prisma)
        *   [Qdrant](/v0.2/docs/integrations/vectorstores/qdrant)
        *   [Redis](/v0.2/docs/integrations/vectorstores/redis)
        *   [Rockset](/v0.2/docs/integrations/vectorstores/rockset)
        *   [SingleStore](/v0.2/docs/integrations/vectorstores/singlestore)
        *   [Supabase](/v0.2/docs/integrations/vectorstores/supabase)
        *   [Tigris](/v0.2/docs/integrations/vectorstores/tigris)
        *   [Turbopuffer](/v0.2/docs/integrations/vectorstores/turbopuffer)
        *   [TypeORM](/v0.2/docs/integrations/vectorstores/typeorm)
        *   [Typesense](/v0.2/docs/integrations/vectorstores/typesense)
        *   [Upstash Vector](/v0.2/docs/integrations/vectorstores/upstash)
        *   [USearch](/v0.2/docs/integrations/vectorstores/usearch)
        *   [Vectara](/v0.2/docs/integrations/vectorstores/vectara)
        *   [Vercel Postgres](/v0.2/docs/integrations/vectorstores/vercel_postgres)
        *   [Voy](/v0.2/docs/integrations/vectorstores/voy)
        *   [Weaviate](/v0.2/docs/integrations/vectorstores/weaviate)
        *   [Xata](/v0.2/docs/integrations/vectorstores/xata)
        *   [Zep](/v0.2/docs/integrations/vectorstores/zep)
    *   [Retrievers](/v0.2/docs/integrations/retrievers)
        
    *   [Tools](/v0.2/docs/integrations/tools)
        
    *   [Toolkits](/v0.2/docs/integrations/toolkits)
        
    *   [Stores](/v0.2/docs/integrations/stores/)
        

*   [](/v0.2/)
*   [Components](/v0.2/docs/integrations/components)
*   Vector stores

Vector stores
=============

[

📄️ Memory
----------

MemoryVectorStore is an in-memory, ephemeral vectorstore that stores embeddings in-memory and does an exact, linear search for the most similar embeddings. The default similarity metric is cosine similarity, but can be changed to any of the similarity metrics supported by ml-distance.

](/v0.2/docs/integrations/vectorstores/memory)

[

📄️ AnalyticDB
--------------

AnalyticDB for PostgreSQL is a massively parallel processing (MPP) data warehousing service that is designed to analyze large volumes of data online.

](/v0.2/docs/integrations/vectorstores/analyticdb)

[

📄️ Astra DB
------------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/astradb)

[

📄️ Azure AI Search
-------------------

Azure AI Search (formerly known as Azure Search and Azure Cognitive Search) is a distributed, RESTful search engine optimized for speed and relevance on production-scale workloads on Azure. It supports also vector search using the k-nearest neighbor (kNN) algorithm and also semantic search.

](/v0.2/docs/integrations/vectorstores/azure_aisearch)

[

📄️ Azure Cosmos DB
-------------------

Azure Cosmos DB for MongoDB vCore makes it easy to create a database with full native MongoDB support. You can apply your MongoDB experience and continue to use your favorite MongoDB drivers, SDKs, and tools by pointing your application to the API for MongoDB vCore account’s connection string. Use vector search in Azure Cosmos DB for MongoDB vCore to seamlessly integrate your AI-based applications with your data that’s stored in Azure Cosmos DB.

](/v0.2/docs/integrations/vectorstores/azure_cosmosdb)

[

📄️ Cassandra
-------------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/cassandra)

[

📄️ Chroma
----------

Chroma is a AI-native open-source vector database focused on developer productivity and happiness. Chroma is licensed under Apache 2.0.

](/v0.2/docs/integrations/vectorstores/chroma)

[

📄️ ClickHouse
--------------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/clickhouse)

[

📄️ CloseVector
---------------

available on both browser and Node.js

](/v0.2/docs/integrations/vectorstores/closevector)

[

📄️ Cloudflare Vectorize
------------------------

If you're deploying your project in a Cloudflare worker, you can use Cloudflare Vectorize with LangChain.js.

](/v0.2/docs/integrations/vectorstores/cloudflare_vectorize)

[

📄️ Convex
----------

LangChain.js supports Convex as a vector store, and supports the standard similarity search.

](/v0.2/docs/integrations/vectorstores/convex)

[

📄️ Couchbase
-------------

Couchbase is an award-winning distributed NoSQL cloud database that delivers unmatched versatility, performance, scalability, and financial value for all of your cloud, mobile,

](/v0.2/docs/integrations/vectorstores/couchbase)

[

📄️ Elasticsearch
-----------------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/elasticsearch)

[

📄️ Faiss
---------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/faiss)

[

📄️ Google Vertex AI Matching Engine
------------------------------------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/googlevertexai)

[

📄️ SAP HANA Cloud Vector Engine
--------------------------------

SAP HANA Cloud Vector Engine is a vector store fully integrated into the SAP HANA Cloud database.

](/v0.2/docs/integrations/vectorstores/hanavector)

[

📄️ HNSWLib
-----------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/hnswlib)

[

📄️ LanceDB
-----------

LanceDB is an embedded vector database for AI applications. It is open source and distributed with an Apache-2.0 license.

](/v0.2/docs/integrations/vectorstores/lancedb)

[

📄️ Milvus
----------

Milvus is a vector database built for embeddings similarity search and AI applications.

](/v0.2/docs/integrations/vectorstores/milvus)

[

📄️ Momento Vector Index (MVI)
------------------------------

MVI: the most productive, easiest to use, serverless vector index for your data. To get started with MVI, simply sign up for an account. There's no need to handle infrastructure, manage servers, or be concerned about scaling. MVI is a service that scales automatically to meet your needs. Whether in Node.js, browser, or edge, Momento has you covered.

](/v0.2/docs/integrations/vectorstores/momento_vector_index)

[

📄️ MongoDB Atlas
-----------------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/mongodb_atlas)

[

📄️ MyScale
-----------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/myscale)

[

📄️ Neo4j Vector Index
----------------------

Neo4j is an open-source graph database with integrated support for vector similarity search.

](/v0.2/docs/integrations/vectorstores/neo4jvector)

[

📄️ Neon Postgres
-----------------

Neon is a fully managed serverless PostgreSQL database. It separates storage and compute to offer

](/v0.2/docs/integrations/vectorstores/neon)

[

📄️ OpenSearch
--------------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/opensearch)

[

📄️ PGVector
------------

To enable vector search in a generic PostgreSQL database, LangChain.js supports using the pgvector Postgres extension.

](/v0.2/docs/integrations/vectorstores/pgvector)

[

📄️ Pinecone
------------

You can use Pinecone vectorstores with LangChain.

](/v0.2/docs/integrations/vectorstores/pinecone)

[

📄️ Prisma
----------

For augmenting existing models in PostgreSQL database with vector search, Langchain supports using Prisma together with PostgreSQL and pgvector Postgres extension.

](/v0.2/docs/integrations/vectorstores/prisma)

[

📄️ Qdrant
----------

Qdrant is a vector similarity search engine. It provides a production-ready service with a convenient API to store, search, and manage points - vectors with an additional payload.

](/v0.2/docs/integrations/vectorstores/qdrant)

[

📄️ Redis
---------

Redis is a fast open source, in-memory data store.

](/v0.2/docs/integrations/vectorstores/redis)

[

📄️ Rockset
-----------

Rockset is a real-time analyitics SQL database that runs in the cloud.

](/v0.2/docs/integrations/vectorstores/rockset)

[

📄️ SingleStore
---------------

SingleStoreDB is a high-performance distributed SQL database that supports deployment both in the cloud and on-premise. It provides vector storage, as well as vector functions like dotproduct and euclideandistance, thereby supporting AI applications that require text similarity matching.

](/v0.2/docs/integrations/vectorstores/singlestore)

[

📄️ Supabase
------------

Langchain supports using Supabase Postgres database as a vector store, using the pgvector postgres extension. Refer to the Supabase blog post for more information.

](/v0.2/docs/integrations/vectorstores/supabase)

[

📄️ Tigris
----------

Tigris makes it easy to build AI applications with vector embeddings.

](/v0.2/docs/integrations/vectorstores/tigris)

[

📄️ Turbopuffer
---------------

Setup

](/v0.2/docs/integrations/vectorstores/turbopuffer)

[

📄️ TypeORM
-----------

To enable vector search in a generic PostgreSQL database, LangChain.js supports using TypeORM with the pgvector Postgres extension.

](/v0.2/docs/integrations/vectorstores/typeorm)

[

📄️ Typesense
-------------

Vector store that utilizes the Typesense search engine.

](/v0.2/docs/integrations/vectorstores/typesense)

[

📄️ Upstash Vector
------------------

Upstash Vector is a REST based serverless vector database, designed for working with vector embeddings.

](/v0.2/docs/integrations/vectorstores/upstash)

[

📄️ USearch
-----------

Only available on Node.js.

](/v0.2/docs/integrations/vectorstores/usearch)

[

📄️ Vectara
-----------

Vectara is a platform for building GenAI applications. It provides an easy-to-use API for document indexing and querying that is managed by Vectara and is optimized for performance and accuracy.

](/v0.2/docs/integrations/vectorstores/vectara)

[

📄️ Vercel Postgres
-------------------

LangChain.js supports using the @vercel/postgres package to use generic Postgres databases

](/v0.2/docs/integrations/vectorstores/vercel_postgres)

[

📄️ Voy
-------

Voy is a WASM vector similarity search engine written in Rust.

](/v0.2/docs/integrations/vectorstores/voy)

[

📄️ Weaviate
------------

Weaviate is an open source vector database that stores both objects and vectors, allowing for combining vector search with structured filtering.

](/v0.2/docs/integrations/vectorstores/weaviate)

[

📄️ Xata
--------

Xata is a serverless data platform, based on PostgreSQL. It provides a type-safe TypeScript/JavaScript SDK for interacting with your database, and a UI for managing your data.

](/v0.2/docs/integrations/vectorstores/xata)

[

📄️ Zep
-------

Zep is a long-term memory service for AI Assistant apps.

](/v0.2/docs/integrations/vectorstores/zep)

[

Previous

OpenAI functions metadata tagger

](/v0.2/docs/integrations/document_transformers/openai_metadata_tagger)[

Next

Memory

](/v0.2/docs/integrations/vectorstores/memory)

Community

*   [Discord](https://discord.gg/cU2adEyC7w)
*   [Twitter](https://twitter.com/LangChainAI)

GitHub

*   [Python](https://github.com/langchain-ai/langchain)
*   [JS/TS](https://github.com/langchain-ai/langchainjs)

More

*   [Homepage](https://langchain.com)
*   [Blog](https://blog.langchain.dev)

Copyright © 2024 LangChain, Inc.