-
Notifications
You must be signed in to change notification settings - Fork 425
Tools: sharepoint tool #929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #929 +/- ##
==========================================
- Coverage 80.66% 79.95% -0.72%
==========================================
Files 286 292 +6
Lines 11679 11898 +219
==========================================
+ Hits 9421 9513 +92
- Misses 2258 2385 +127 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me - just a few small changes requested
e71168f to
a64fa0a
Compare
EugeneLightsOn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, small fix is requested
Added Sharepoint Tool
AI Description
This PR introduces the Sharepoint tool, which allows users to search and retrieve documents from Sharepoint. The tool is integrated into the backend and frontend, providing a seamless experience for users.
Changes:
configuration.template.yamlandsecrets.template.yamlfiles are updated to include Sharepoint-specific configurations, such astenant_id,client_id, andclient_secret.SharepointSettings, is introduced insettings.pyto handle Sharepoint-specific settings.__init__.py,tool.py,auth.py, andconstants.py.auth.pyfile implements theSharepointAuthclass, which handles authentication for the Sharepoint tool, ensuring secure access to user data.constants.pyfile defines constants specific to the Sharepoint tool, such asSHAREPOINT_TOOL_IDandSEARCH_LIMIT.tool.pyfile contains theSharepointToolclass, which defines the tool's functionality, including searching for documents, retrieving file contents, and serializing results.utils.pyfile provides utility functions for the Sharepoint tool, such asserialize_metadataandserialize_file_contents, which handle data serialization and file content processing.SharepointConnection, is added to the frontend, allowing users to connect to Sharepoint, authenticate, and manage their connection.Sharepoint, is introduced in the frontend, providing a visual representation of the Sharepoint tool.