llama-index-readers-pathway


Namellama-index-readers-pathway JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers pathway integration
upload_time2024-08-22 06:47:54
maintainerNone
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: Pathway

## Overview

Pathway Reader is a utility class for retrieving documents from the Pathway data indexing pipeline. It queries the Pathway vector store to get the closest neighbors of a given text query.

### Installation

You can install Pathway Reader via pip:

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

### Usage

```python
from llama_index.readers.pathway import PathwayReader

# Initialize PathwayReader with the URI and port of the Pathway server
reader = PathwayReader(host="<Pathway Host>", port="<Port>")

# Load data from Pathway
documents = reader.load_data(
    query_text="<Query Text>",  # The text to get the closest neighbors of
    k=4,  # Number of results to return
    metadata_filter="<Metadata Filter>",  # Filter to be applied
)
```

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).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-pathway",
    "maintainer": null,
    "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/3e/91/3b9522577da745025cd947f132086a70b76dddabad4b838823df525563b6/llama_index_readers_pathway-0.2.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Readers Integration: Pathway\n\n## Overview\n\nPathway Reader is a utility class for retrieving documents from the Pathway data indexing pipeline. It queries the Pathway vector store to get the closest neighbors of a given text query.\n\n### Installation\n\nYou can install Pathway Reader via pip:\n\n```bash\npip install llama-index-readers-pathway\n```\n\n### Usage\n\n```python\nfrom llama_index.readers.pathway import PathwayReader\n\n# Initialize PathwayReader with the URI and port of the Pathway server\nreader = PathwayReader(host=\"<Pathway Host>\", port=\"<Port>\")\n\n# Load data from Pathway\ndocuments = reader.load_data(\n    query_text=\"<Query Text>\",  # The text to get the closest neighbors of\n    k=4,  # Number of results to return\n    metadata_filter=\"<Metadata Filter>\",  # Filter to be applied\n)\n```\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).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers pathway integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "87c12e8364e5e969ccb765c58df37aec603fd91b73335f86fede47d65317aa59",
                "md5": "a056d9718c369d26d63cf4c8d4e0f3bd",
                "sha256": "796773eb4abaf01e31f3ae5beebd10e124bba096eedf9a9547d807679274c88e"
            },
            "downloads": -1,
            "filename": "llama_index_readers_pathway-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a056d9718c369d26d63cf4c8d4e0f3bd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3500,
            "upload_time": "2024-08-22T06:47:53",
            "upload_time_iso_8601": "2024-08-22T06:47:53.142738Z",
            "url": "https://files.pythonhosted.org/packages/87/c1/2e8364e5e969ccb765c58df37aec603fd91b73335f86fede47d65317aa59/llama_index_readers_pathway-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e913b9522577da745025cd947f132086a70b76dddabad4b838823df525563b6",
                "md5": "f925fd69adecbc3f725ea726481cf1b3",
                "sha256": "c981ee025bfef379784245e24506e200270cb24708070b0fef659bad69161897"
            },
            "downloads": -1,
            "filename": "llama_index_readers_pathway-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f925fd69adecbc3f725ea726481cf1b3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3168,
            "upload_time": "2024-08-22T06:47:54",
            "upload_time_iso_8601": "2024-08-22T06:47:54.590400Z",
            "url": "https://files.pythonhosted.org/packages/3e/91/3b9522577da745025cd947f132086a70b76dddabad4b838823df525563b6/llama_index_readers_pathway-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 06:47:54",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-pathway"
}
        
Elapsed time: 0.38638s