Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
levi committed Feb 13, 2024
1 parent 9f1875a commit ba66cee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions llama_hub/microsoft_sharepoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ documents = loader.load_data(

### Example loading a single folder
To load a single folder, specify the `sharepoint_folder_path` with the name of the folder or path from the root directory.

Example: `sharepoint_folder_path = "my/folder/path"`

In order to load only the documents from this `sharepoint_folder_path`, and not the pages for the `sharepoint_site_name`,
you need to provide the `include` argument as `['documents]`. By default, `include` is equal to `['documents', 'pages']`.
you need to provide the `include` argument as `['documents']`. By default, `include` is equal to `['documents', 'pages']`.

If you do not want to include files from subfolders for the given `sharepoint_folder_path`, remove the argument `recursive` (defaults to `False`).

Expand All @@ -84,9 +85,9 @@ documents = loader.load_data(

### Example loading just pages
In order to load only the pages for the `sharepoint_site_name`,
you need to provide the `include` argument as `['pages]`. By default, `include` is equal to `['documents', 'pages']`.
you need to provide the `include` argument as `['pages']`. By default, `include` is equal to `['documents', 'pages']`.

Note: `recursive` and `sharepoint_folder_path` arguments have no effect if `documents` is not in `include`.
Note: `recursive` and `sharepoint_folder_path` arguments have no effect if `documents` is not in the list of the argument `include`.

```python
from llama_index import download_loader
Expand Down

0 comments on commit ba66cee

Please sign in to comment.