llama-index-readers-bagel


Namellama-index-readers-bagel JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers bagel integration
upload_time2024-08-22 05:52:47
maintainerasif
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords bageldb database storage vector
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LlamaIndex Readers Integration: Bagel

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

## Bagel Loader

## Usage

```python
from llama_index.core.schema import Document
from llama_index.readers.bagel import BagelReader

# Initialize BagelReader with the collection name
reader = BagelReader(collection_name="example_collection")

# Load data from Bagel
documents = reader.load_data(
    query_vector=None,
    query_texts=["example text"],
    limit=10,
    where=None,
    where_document=None,
    include=["documents", "embeddings"],
)
```

## Features

- Retrieve documents, embeddings, and metadata efficiently.
- Filter results based on specified conditions.
- Specify what data to include in the retrieved results.

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-bagel",
    "maintainer": "asif",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": "bagelDB, database, storage, vector",
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/85/e5/e5021afd2a8b7fe97e742ac030d2a3dc5669bdac81612ff32fcab0e520a6/llama_index_readers_bagel-0.2.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Readers Integration: Bagel\n\n```bash\npip install llama-index-readers-bagel\n```\n\n## Bagel Loader\n\n## Usage\n\n```python\nfrom llama_index.core.schema import Document\nfrom llama_index.readers.bagel import BagelReader\n\n# Initialize BagelReader with the collection name\nreader = BagelReader(collection_name=\"example_collection\")\n\n# Load data from Bagel\ndocuments = reader.load_data(\n    query_vector=None,\n    query_texts=[\"example text\"],\n    limit=10,\n    where=None,\n    where_document=None,\n    include=[\"documents\", \"embeddings\"],\n)\n```\n\n## Features\n\n- Retrieve documents, embeddings, and metadata efficiently.\n- Filter results based on specified conditions.\n- Specify what data to include in the retrieved results.\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 bagel integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [
        "bageldb",
        " database",
        " storage",
        " vector"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a73ba7af3053d91bbd75073e7ff37815c2f990f1157eec91932ef0919545c232",
                "md5": "922555bb5ffe30d4e8a80c0bd2b557d0",
                "sha256": "3461b1e6ad0adf8f8380e53922b784b32e606f451af97d8e0599326b748a46d0"
            },
            "downloads": -1,
            "filename": "llama_index_readers_bagel-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "922555bb5ffe30d4e8a80c0bd2b557d0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3742,
            "upload_time": "2024-08-22T05:52:46",
            "upload_time_iso_8601": "2024-08-22T05:52:46.305187Z",
            "url": "https://files.pythonhosted.org/packages/a7/3b/a7af3053d91bbd75073e7ff37815c2f990f1157eec91932ef0919545c232/llama_index_readers_bagel-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "85e5e5021afd2a8b7fe97e742ac030d2a3dc5669bdac81612ff32fcab0e520a6",
                "md5": "733977ca97ac4c588aa3773ad68aeb26",
                "sha256": "4ffd6e04e8f8bc4b444683f03e9062dee9dc9c9c04d8b8cebed14da9ddf75180"
            },
            "downloads": -1,
            "filename": "llama_index_readers_bagel-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "733977ca97ac4c588aa3773ad68aeb26",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3503,
            "upload_time": "2024-08-22T05:52:47",
            "upload_time_iso_8601": "2024-08-22T05:52:47.530802Z",
            "url": "https://files.pythonhosted.org/packages/85/e5/e5021afd2a8b7fe97e742ac030d2a3dc5669bdac81612ff32fcab0e520a6/llama_index_readers_bagel-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 05:52:47",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-bagel"
}
        
Elapsed time: 3.64337s