llama-index-readers-milvus


Namellama-index-readers-milvus JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers milvus integration
upload_time2024-08-22 06:37:30
maintainerfilip-halt
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

```bash
pip install llama-index-readers-milvus
```

### Usage

```python
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](https://docs.llamaindex.ai/en/stable/examples/data_connectors/MilvusReaderDemo)

This loader is designed to be used as a way to load data into
[LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently
used as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-milvus",
    "maintainer": "filip-halt",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/e1/92/c3117885e5a75cda4831908c128b3d03ecd026bb174157b07e781535537b/llama_index_readers_milvus-0.2.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Readers Integration: Milvus\n\n## Overview\n\nMilvus 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.\n\n### Installation\n\nYou can install Milvus Reader via pip:\n\n```bash\npip install llama-index-readers-milvus\n```\n\n### Usage\n\n```python\nfrom llama_index.readers.milvus import MilvusReader\n\n# Initialize MilvusReader\nreader = MilvusReader(\n    host=\"<Milvus Host>\",  # Milvus host address (default: \"localhost\")\n    port=19530,  # Milvus port (default: 19530)\n    user=\"\",  # Milvus user (default: \"\")\n    password=\"\",  # Milvus password (default: \"\")\n    use_secure=False,  # Use secure connection (default: False)\n)\n\n# Load data from Milvus\ndocuments = reader.load_data(\n    query_vector=[0.1, 0.2, 0.3],  # Query vector\n    collection_name=\"<Collection Name>\",  # Name of the Milvus collection\n    limit=10,  # Number of results to return\n    search_params=None,  # Search parameters (optional)\n)\n```\n\nImplementation for Milvus reader can be found [here](https://docs.llamaindex.ai/en/stable/examples/data_connectors/MilvusReaderDemo)\n\nThis loader is designed to be used as a way to load data into\n[LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently\nused as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers milvus integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "686cd11ee8f0baa2b3c323d2a5da5be0f39b61fee7de9ed8e2b3e7b63752a746",
                "md5": "40f292e1e49ac755bcba7815b59a4de8",
                "sha256": "7199660198ae7fd9ebcc0b9c52238bed974e57f8de34def2204dfb4b4335af35"
            },
            "downloads": -1,
            "filename": "llama_index_readers_milvus-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "40f292e1e49ac755bcba7815b59a4de8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3599,
            "upload_time": "2024-08-22T06:37:29",
            "upload_time_iso_8601": "2024-08-22T06:37:29.616971Z",
            "url": "https://files.pythonhosted.org/packages/68/6c/d11ee8f0baa2b3c323d2a5da5be0f39b61fee7de9ed8e2b3e7b63752a746/llama_index_readers_milvus-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e192c3117885e5a75cda4831908c128b3d03ecd026bb174157b07e781535537b",
                "md5": "b1193756cc72b50f38fe513a7e4427fa",
                "sha256": "89c573a91a24d77c87465a908e19556cca164d0b9fc60230892c588880e1f5ba"
            },
            "downloads": -1,
            "filename": "llama_index_readers_milvus-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b1193756cc72b50f38fe513a7e4427fa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3319,
            "upload_time": "2024-08-22T06:37:30",
            "upload_time_iso_8601": "2024-08-22T06:37:30.818875Z",
            "url": "https://files.pythonhosted.org/packages/e1/92/c3117885e5a75cda4831908c128b3d03ecd026bb174157b07e781535537b/llama_index_readers_milvus-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 06:37:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-milvus"
}
        
Elapsed time: 0.29772s