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.4.0.tar.gz (36.1 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.4.0-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for langchain_milvus-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5fd962874bd0fec1dfd87513610807fcf7abf8c1ec8a868819c0b02483c9708f
MD5 a811385608bcaa38a837b8b8ddbde385
BLAKE2b-256 2556a763b0cd81d1e70df8d1b4dd409f03e90968c42db86046d973b516c05b63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_milvus-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c60611cb244928a5fc6c4e905fcd0efa146ef1d2c26edf0a907bc844da3d7ff0
MD5 855cfd3f8b19a94ac19ccd0f08516ff3
BLAKE2b-256 f617985a3c214d21a660b6b8ae707d5c231f2aaa27b2a464b1906a3c4d6184d3

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