No need for pathlib in readmes

This commit is contained in:
EmptyCrown 2023-02-10 14:38:18 -08:00
parent 65be920cd7
commit 201f15d9ee
2 changed files with 0 additions and 2 deletions

View File

@ -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.
```python
from pathlib import Path
from gpt_index import download_loader
RemoteReader = download_loader("RemoteReader")

View File

@ -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).
```python
from pathlib import Path
from gpt_index import download_loader
S3Reader = download_loader("S3Reader")