mirror of
https://github.com/run-llama/llama-hub.git
synced 2025-08-15 12:11:50 +00:00
No need for pathlib in readmes
This commit is contained in:
parent
65be920cd7
commit
201f15d9ee
@ -9,7 +9,6 @@ As a result, any page or type of file is supported. For instance, if a `.txt` ur
|
|||||||
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.
|
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.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from pathlib import Path
|
|
||||||
from gpt_index import download_loader
|
from gpt_index import download_loader
|
||||||
|
|
||||||
RemoteReader = download_loader("RemoteReader")
|
RemoteReader = download_loader("RemoteReader")
|
||||||
|
@ -9,7 +9,6 @@ All files are temporarily downloaded locally and subsequently parsed with `Simpl
|
|||||||
To use this loader, you need to pass in the name of your S3 Bucket. After that, if you want to just parse a single file, pass in its key. Otherwise, you may specify a prefix if you only want to parse certain files in the Bucket, or a subdirectory. AWS Access Key credentials may either be passed in during initialization or stored locally (see above).
|
To use this loader, you need to pass in the name of your S3 Bucket. After that, if you want to just parse a single file, pass in its key. Otherwise, you may specify a prefix if you only want to parse certain files in the Bucket, or a subdirectory. AWS Access Key credentials may either be passed in during initialization or stored locally (see above).
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from pathlib import Path
|
|
||||||
from gpt_index import download_loader
|
from gpt_index import download_loader
|
||||||
|
|
||||||
S3Reader = download_loader("S3Reader")
|
S3Reader = download_loader("S3Reader")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user