llama-index-readers-wikipedia


Namellama-index-readers-wikipedia JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers wikipedia integration
upload_time2024-08-22 03:16:13
maintainerjerryjliu
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: Wikipedia

## Overview

The Wikipedia Reader reads Wikipedia pages and retrieves their content. It allows you to specify a list of pages to read, and it retrieves the text content of each page.

### Installation

You can install the Wikipedia Reader via pip:

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

### Usage

```python
from llama_index.readers.wikipedia import WikipediaReader

# Initialize WikipediaReader
reader = WikipediaReader()

# Load data from Wikipedia
documents = reader.load_data(pages=["Page Title 1", "Page Title 2", ...])
```

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-wikipedia",
    "maintainer": "jerryjliu",
    "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/e2/d3/e16be7ebab3dc1d96b806e5b1064a31ad2bb02711440ad8b492552c5bfb9/llama_index_readers_wikipedia-0.2.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Readers Integration: Wikipedia\n\n## Overview\n\nThe Wikipedia Reader reads Wikipedia pages and retrieves their content. It allows you to specify a list of pages to read, and it retrieves the text content of each page.\n\n### Installation\n\nYou can install the Wikipedia Reader via pip:\n\n```bash\npip install llama-index-readers-wikipedia\n```\n\n### Usage\n\n```python\nfrom llama_index.readers.wikipedia import WikipediaReader\n\n# Initialize WikipediaReader\nreader = WikipediaReader()\n\n# Load data from Wikipedia\ndocuments = reader.load_data(pages=[\"Page Title 1\", \"Page Title 2\", ...])\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) 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 wikipedia integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a3a0c728c5bb0c12b0303ac88d4c20f03be1bde445c949f02f8132f77c2a8c80",
                "md5": "baa8170451ae3318718c881ca1fbccf3",
                "sha256": "01efeefde229dd61bd8110fde161329531f8e609c4e82e11dc447067c6ec969d"
            },
            "downloads": -1,
            "filename": "llama_index_readers_wikipedia-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "baa8170451ae3318718c881ca1fbccf3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2705,
            "upload_time": "2024-08-22T03:16:12",
            "upload_time_iso_8601": "2024-08-22T03:16:12.080520Z",
            "url": "https://files.pythonhosted.org/packages/a3/a0/c728c5bb0c12b0303ac88d4c20f03be1bde445c949f02f8132f77c2a8c80/llama_index_readers_wikipedia-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e2d3e16be7ebab3dc1d96b806e5b1064a31ad2bb02711440ad8b492552c5bfb9",
                "md5": "16079a3330e8392ef6ec285c4bf22a8a",
                "sha256": "6d8cba820dd4f9400e112cda5aefedcf02c23494651cddefb1cd33955fd0e7a4"
            },
            "downloads": -1,
            "filename": "llama_index_readers_wikipedia-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "16079a3330e8392ef6ec285c4bf22a8a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2473,
            "upload_time": "2024-08-22T03:16:13",
            "upload_time_iso_8601": "2024-08-22T03:16:13.388894Z",
            "url": "https://files.pythonhosted.org/packages/e2/d3/e16be7ebab3dc1d96b806e5b1064a31ad2bb02711440ad8b492552c5bfb9/llama_index_readers_wikipedia-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 03:16:13",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-wikipedia"
}
        
Elapsed time: 0.27257s