Skip to content

langchain-ai/langchain-milvus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦜️🔗 LangChain Milvus

License Twitter Twitter

alt text 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

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.