An integration package connecting Weaviate and LangChain
Actively maintained. Last release 5 months ago, commits in 13 of the last 26 weeks. A safe choice.
pip install langchain-weaviatelangchain-weaviate
About
This package contains the Weaviate integrations for LangChain.
- Weaviate is an open source, AI-native vector database that helps developers create intuitive and reliable AI-powered applications.
- LangChain is a framework for developing applications powered by language models.
Using this package, LangChain users can conveniently set Weaviate as their vector store to store and retrieve embeddings.
Requirements
To use this package, you need to have a running Weaviate instance.
Weaviate can be deployed in many different ways such as in containerized environments, on Kubernetes, or in the cloud as a managed service, on-premises, or through a cloud provider such as AWS or Google Cloud.
The deployment method to choose depends on your use case and infrastructure requirements.
Two of the most common ways to deploy Weaviate are:
Installation and Setup
As an integration package, this assumes you have already installed LangChain. If not, please refer to the LangChain installation guide.
Then, install this package:
pip install langchain-weaviate
Usage
Please see the included Jupyter notebook for an example of how to use this package.