Skip to main content

LlamaIndex Readers Integration: Milvus

Overview

Milvus Reader is designed to load data from a Milvus vector store, which provides search functionality based on query vectors. It retrieves documents from the specified Milvus collection using the provided connection parameters.

Installation

You can install Milvus Reader via pip:

pip install llama-index-readers-milvus

Usage

from llama_index.readers.milvus import MilvusReader

# Initialize MilvusReader
reader = MilvusReader(
    host="<Milvus Host>",  # Milvus host address (default: "localhost")
    port=19530,  # Milvus port (default: 19530)
    user="",  # Milvus user (default: "")
    password="",  # Milvus password (default: "")
    use_secure=False,  # Use secure connection (default: False)
)

# Load data from Milvus
documents = reader.load_data(
    query_vector=[0.1, 0.2, 0.3],  # Query vector
    collection_name="<Collection Name>",  # Name of the Milvus collection
    limit=10,  # Number of results to return
    search_params=None,  # Search parameters (optional)
)

Implementation for Milvus reader can be found here

This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent.

Download files

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

Source Distribution

llama_index_readers_milvus-0.6.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

llama_index_readers_milvus-0.6.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_milvus-0.6.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_milvus-0.6.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_milvus-0.6.0.tar.gz
Algorithm Hash digest
SHA256 4e3ba2d037e81e4d4962ab8b7c3d1bc0d5f923ff277aa9ede52e54ec46440321
MD5 29938d4efadf0c3cd938ffebebb2dc13
BLAKE2b-256 c9b366bc5be39698f0a479462484a81afa8213d7b623378bc3b7d808c1c899bd

See more details on using hashes here.

File details

Details for the file llama_index_readers_milvus-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_milvus-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_milvus-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f17365cac8d62bffb82f1a20ca9e3e4f8703eaf3f39c2decba4dfcc874cbef76
MD5 b7277e46fde8762612fa5667ec90ec4c
BLAKE2b-256 a30fc74e5da49beb6ef052e7875a4ebdf22fc790c220a4ea19b6b36e43827e4b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page