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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_readers_wikipedia-0.5.0.tar.gz.
File metadata
- Download URL: llama_index_readers_wikipedia-0.5.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea4d8480b9eada8c1c1b496a7eb138f856ed2a6ec044f10f2c9392d59af49880
|
|
| MD5 |
d3a2017faa319962b9e113b242b03ec0
|
|
| BLAKE2b-256 |
5b32067eeb49e055a1c62bd553c7f92149dad10b0eb077492dc5b87e5eae0070
|
File details
Details for the file llama_index_readers_wikipedia-0.5.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_wikipedia-0.5.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
959a8691a7a776e28a3056f8abc3f081c4707e23e231b154a9f241e461b0070b
|
|
| MD5 |
cbdaa0c47c67bea9de0e45f18580dfec
|
|
| BLAKE2b-256 |
3bf8970e7d32e991420e2d9b68843ee8acaa192c510012b83a259291fcdf259b
|