-
Notifications
You must be signed in to change notification settings - Fork 383
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
Tools: sharepoint tool #929
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #929 +/- ##
==========================================
- Coverage 80.66% 79.94% -0.72%
==========================================
Files 286 291 +5
Lines 11679 11894 +215
==========================================
+ Hits 9421 9509 +88
- 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
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.yaml
andsecrets.template.yaml
files are updated to include Sharepoint-specific configurations, such astenant_id
,client_id
, andclient_secret
.SharepointSettings
, is introduced insettings.py
to handle Sharepoint-specific settings.__init__.py
,tool.py
,auth.py
, andconstants.py
.auth.py
file implements theSharepointAuth
class, which handles authentication for the Sharepoint tool, ensuring secure access to user data.constants.py
file defines constants specific to the Sharepoint tool, such asSHAREPOINT_TOOL_ID
andSEARCH_LIMIT
.tool.py
file contains theSharepointTool
class, which defines the tool's functionality, including searching for documents, retrieving file contents, and serializing results.utils.py
file provides utility functions for the Sharepoint tool, such asserialize_metadata
andserialize_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.