Conversation
ezawadski
commented
Jan 28, 2025
Codecov Report❌ 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. 🚀 New features to boost your workflow:
|
e71168f to
a64fa0a
Compare
EugeneLightsOn
requested changes
Jan 31, 2025
Collaborator
EugeneLightsOn
left a comment
There was a problem hiding this comment.
Looks good, small fix is requested
EugeneLightsOn
approved these changes
Jan 31, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.