Skip to main content

An integration package connecting Milvus and LangChain

Project description

🦜️🔗 LangChain Milvus

License Twitter Twitter

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_milvus-0.3.3.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_milvus-0.3.3-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file langchain_milvus-0.3.3.tar.gz.

File metadata

  • Download URL: langchain_milvus-0.3.3.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for langchain_milvus-0.3.3.tar.gz
Algorithm Hash digest
SHA256 406c2d88da133741f5cc3e2fea4b36386182b35500205c70d003382ded210e41
MD5 0b7e233736adaabe6842bbee69662327
BLAKE2b-256 0921ecce785a24e61ba2c0f6249a5a68b969ccc053342f933aeab31a3f885f5e

See more details on using hashes here.

File details

Details for the file langchain_milvus-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_milvus-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6e12f15453372dd48836978faa4a149de79c721df3322229ad732a5e628e8e97
MD5 7c516f4601df7cb60834e10ce7af7e08
BLAKE2b-256 be5d6a0dac51ca2343332d5de9c79686d54f905d225b173a8e1b03ae6d35982a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page