Skip to main content

llama-index readers wikipedia integration

Project description

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:

pip install llama-index-readers-wikipedia

Usage

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 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_wikipedia-0.3.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file llama_index_readers_wikipedia-0.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_wikipedia-0.3.0.tar.gz
Algorithm Hash digest
SHA256 77972387cd5410c981bd427699613de63e76889f99816512fc3fce3b2eca440a
MD5 a574e2b9e6977dc44d8453d2dec85dbb
BLAKE2b-256 aef11bd33ebbd003f1e19e9a77a85d0e77c0dd0c904de50cc9212cc718648813

See more details on using hashes here.

File details

Details for the file llama_index_readers_wikipedia-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_wikipedia-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1723441901a3a19f323872e3c5a968bbfc98cdc5f35e901c99e79f0e8cb7fa57
MD5 1b8d83ad51fb1aa5d85f89ce95c692ff
BLAKE2b-256 7b8ac85a69d9899fd6b7176bcbf6d19579feb1110e340a48b486f3682bc1bf60

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page