An integration package connecting Milvus and LangChain
Project description
🦜️🔗 LangChain Milvus
This repository contains the Milvus integration package for LangChain:
- langchain-milvus - A powerful integration between LangChain and Milvus, enabling vector search and retrievers for AI applications.
Overview
LangChain Milvus provides seamless integration between LangChain, a framework for building applications with large language models (LLMs), and Milvus, a powerful vector database designed for similarity search and AI applications. This integration enables efficient vector storage and retrieval for AI applications like semantic search, recommendation systems, and RAG (Retrieval Augmented Generation).
Features
- Vector Storage: Store embeddings from any LangChain embedding model in Milvus
- Similarity Search: Perform efficient similarity searches on vector data
- Hybrid Search: Combine vector search with keyword search for improved results
- Maximal Marginal Relevance: Filter for diversity in search results
- Multiple Vector Fields: Support for multiple vector fields in a single collection
- Sparse Embeddings: Support for sparse vector embeddings
- Built-in Functions: Support for Milvus built-in functions like BM25
- Async Support: Full support for async operations and APIs
Installation
pip install -U langchain-milvus
Usage
-
Basic Usage: Learn how to get started with basic vector operations in Milvus using LangChain.
-
Build RAG(Retrieval Augmented Generation): Discover how to build powerful RAG applications by combining LangChain with Milvus.
-
Full-text Search: Explore how to implement full-text search capabilities using LangChain and Milvus.
-
Hybrid Search: Learn how to combine vector and keyword search for more accurate results.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file langchain_milvus-0.2.1.tar.gz
.
File metadata
- Download URL: langchain_milvus-0.2.1.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6e60e43959464ae2be9dadceb4fab6b3ddcec5bb1f2d29e898924f1c2651baf1
|
|
MD5 |
127751c69cfedd04eeb26f4aba80b0af
|
|
BLAKE2b-256 |
3edd5e8b7f6f17da0e54205956feab3f7856cb7dc821dbe817f2990aa028e4cc
|
File details
Details for the file langchain_milvus-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: langchain_milvus-0.2.1-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
faabf4685c15ef9651605172427073d6ffc52c0f36f3b88842977db883062c99
|
|
MD5 |
6e6da50ee61e53fbfbaee25fa6ebfe64
|
|
BLAKE2b-256 |
60b154e176cc8ac80df9a2c4ee9f726d6383fcf9818317c68532cfc90fa91b6c
|