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.0.tar.gz (33.9 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.0-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_milvus-0.3.0.tar.gz
  • Upload date:
  • Size: 33.9 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.0.tar.gz
Algorithm Hash digest
SHA256 bbed016bc5bcb8df858f5dfd0c245457c4c6ed5259481cd2f9d433a59f2ad833
MD5 73ffcb8839b2bd316475d97930844d9e
BLAKE2b-256 9e53570420a1da6a86efa0e7db04a46269874b1fb3122892283172a5cd4539da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_milvus-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68c149bdba7a83e50948c7a2463ecf0cb00e446d268e30765b19b0ec13a0df85
MD5 1da8b665db48adc05f2c43d4fd95a8e5
BLAKE2b-256 394b4c320b816d7fe0a28ea742bcc4f1a4bc4c03775f48a0efe57719a12d90c2

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