-
Notifications
You must be signed in to change notification settings - Fork 735
Microsoft SharePoint Data Loader #745
Microsoft SharePoint Data Loader #745
Conversation
Awesome! Thanks for the contribution. Thanks! |
@anoopshrma Updated. Kindly check! |
@anoopshrma @EmanuelCampos Thank you for accepting the PR and approving it 🙂! |
I am trying to use llama_index SharePointLoader and am getting error that my site does not exist, but the link that prints out in the error message works and brings me to my site. Any ideas? |
@arun04cbe Thank you! I wasn't sure if that was the same issue. Do you have example of string to pass for SharePoint site? loader = SharePointLoader( documents = loader.load_data( ERROR:custom_module:An error occurred while accessing SharePoint: The specified sharepoint site https://wmsafety.sharepoint.com/sites/WMSC is not found. |
@lilz12 Just pass the SharePoint site name. In your case just pass WMSC. And if the folder in documents library is Data/Folder. Pass Data/Folder in folder path |
@arun04cbe Within the SharePoint site, it looks like you can have additional sites. So once I'm at my SharePoint site name, I navigate to the site, "Technical Writers" and then the folder is "Reference Codes". Could that be the problem that there are multiple sites under WMSC? |
I am not aware on having additional sites in SharePoint site. Current implementation works for the parent Site. There is also an issues mentioned at #901. Kindly take a look at it also. |
Hi! Are you saying what i'm experiencing is already a known/existing bug?
documents = loader.load_data(
sharepoint_site_name = "WMSC",
sharepoint_folder_path = "Reference%20Codes",
recursive = True,
)
ERROR:custom_module:An error occurred while accessing SharePoint: {'code':
'itemNotFound', 'message': 'The resource could not be found.'}
Screenshot of site below
[image: image.png]
…On Wed, Jan 31, 2024 at 9:21 AM arun_n ***@***.***> wrote:
I am not aware on having additional sites in SharePoint. Current
implementation works for the parent Site
—
Reply to this email directly, view it on GitHub
<#745 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A565JAJRPDGLPE5KYTFBERDYRJHNLAVCNFSM6AAAAABAKN4KZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZGIYDCMJXGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@lilz12 could you try giving Folder path as Reference/Codes |
ERROR:custom_module:An error occurred while accessing SharePoint:
{'code': 'itemNotFound', 'message': 'The resource could not be
found.'}
…------------------------------
On Wed, Jan 31, 2024 at 9:33 AM arun_n ***@***.***> wrote:
@lilz12 <https://github.com/lilz12> could you try giving Folder path as
Reference/Codes
—
Reply to this email directly, view it on GitHub
<#745 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A565JAMXLKUUAVSHOED3W6TYRJI2LAVCNFSM6AAAAABAKN4KZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZGIZDINBTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Description
Microsoft SharePoint Data Loader for
llama-hub
Fixes # (issue)
#674
Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
poetry build
and tested locallySuggested Checklist:
make format; make lint
to appease the lint gods