Skip to main content

llama-index readers milvus integration

Project description

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.

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

llama_index_readers_milvus-0.5.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.5.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_milvus-0.5.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.5.0.tar.gz
Algorithm Hash digest
SHA256 9ae1aa779531abf45ab48467533d897672abba05255425f53918b12fe9559d9e
MD5 277caac546c777ccf92a98fb49fbad92
BLAKE2b-256 f7bb82eede2b38041f251c5a7923666a2af163605054d1ac0c0e246d847dcec8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_milvus-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d771cae175742818bbfa2abcf4d44b42dc9820b483c0216b09d2d466e0d3854b
MD5 7e4a355e16cd0caa635b4d2029929755
BLAKE2b-256 d70c1cd64e1cdc42c9634706cb2adf64dc41712ddf82fc7983c5cf49557b1d27

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