llama-index readers remote integration
Project description
Remote Page/File Loader
pip install llama-index-readers-remote
This loader makes it easy to extract the text from any remote page or file using just its url. If there's a file at the url, this loader will download it temporarily and parse it using SimpleDirectoryReader. It is an all-in-one tool for (almost) any url.
As a result, any page or type of file is supported. For instance, if a .txt url such as a Project Gutenberg book is passed in, the text will be parsed as is. On the other hand, if a hosted .mp3 url is passed in, it will be downloaded and parsed using AudioTranscriber.
Usage
To use this loader, you need to pass in a Path to a local file. Optionally, you may specify a file_extractor for the SimpleDirectoryReader to use, other than the default one.
from llama_index.readers.remote import RemoteReader
loader = RemoteReader()
documents = loader.load_data(
url="https://en.wikipedia.org/wiki/File:Example.jpg"
)
This loader is designed to be used as a way to load data into LlamaIndex.
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_remote-0.4.1.tar.gz.
File metadata
- Download URL: llama_index_readers_remote-0.4.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d31952e73108c77cefc6ec8d82be77032cd1994a9729a43789cffb046a33440d
|
|
| MD5 |
2081f106c6647ce922f321d56532d069
|
|
| BLAKE2b-256 |
2f2d177dd8d00d9adc68cb953ccd5306df5fdb76a763311b0951ec2bb32472f8
|
File details
Details for the file llama_index_readers_remote-0.4.1-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_remote-0.4.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15209bcd160d7440df1874a99a7c4e0384d781a1eda51b3c361af4e57caa2111
|
|
| MD5 |
40d5e2b3507731703f6922d647f574c3
|
|
| BLAKE2b-256 |
beb427fbb5b7eedb24019ec2b249a8268cbfe738bedd5f565f1db878a9d623f7
|