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
Built Distribution
File details
Details for the file llama_index_readers_wikipedia-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_readers_wikipedia-0.3.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77972387cd5410c981bd427699613de63e76889f99816512fc3fce3b2eca440a |
|
MD5 | a574e2b9e6977dc44d8453d2dec85dbb |
|
BLAKE2b-256 | aef11bd33ebbd003f1e19e9a77a85d0e77c0dd0c904de50cc9212cc718648813 |
File details
Details for the file llama_index_readers_wikipedia-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_wikipedia-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1723441901a3a19f323872e3c5a968bbfc98cdc5f35e901c99e79f0e8cb7fa57 |
|
MD5 | 1b8d83ad51fb1aa5d85f89ce95c692ff |
|
BLAKE2b-256 | 7b8ac85a69d9899fd6b7176bcbf6d19579feb1110e340a48b486f3682bc1bf60 |