RAGGENIE: An open-source, low-code platform to build custom Retrieval-Augmented Generation (RAG) Copilets with your own data. Simplify AI development with ease!
Summary
This pr introduces a SharePoint data source plugin for RAGGENIE. The plugin enables users to connect and retrieve data from SharePoint within the platform.
Fixes #114
Changes Made
Plugin Initialization (init.py for SharePoint) Added a new SharePoint plugin file with connection arguments for site URL, client ID, client secret, and tenant ID.
Structured the file to match the existing Website plugin to maintain uniformity across all data source plugins.
Defined metadata and configuration settings specific to SharePoint.
Created a SharePointFormatter class to handle the formatting of data retrieved from SharePoint. The formatter processes the data based on inference details like the main entity and operation kind, ensuring that RAGGENIE can accurately present SharePoint data to users.
Created a handler file similar to the existing one for the Website plugin.
Developed the core SharePoint plugin class, including the following functionalities:
Connection Setup: Added methods to handle the connection to SharePoint using OAuth authentication parameters.
Health Check: Implemented a health check method to verify the accessibility of the SharePoint site.
Data Retrieval: Integrated a method to fetch data from SharePoint using a base reader, ensuring compatibility with RAGGENIE's data processing architecture.
Summary This pr introduces a SharePoint data source plugin for RAGGENIE. The plugin enables users to connect and retrieve data from SharePoint within the platform.
Fixes #114
Changes Made
Plugin Initialization (init.py for SharePoint) Added a new SharePoint plugin file with connection arguments for site URL, client ID, client secret, and tenant ID. Structured the file to match the existing Website plugin to maintain uniformity across all data source plugins. Defined metadata and configuration settings specific to SharePoint.
Created a SharePointFormatter class to handle the formatting of data retrieved from SharePoint. The formatter processes the data based on inference details like the main entity and operation kind, ensuring that RAGGENIE can accurately present SharePoint data to users.
Created a handler file similar to the existing one for the Website plugin.
Developed the core SharePoint plugin class, including the following functionalities:
https://github.com/user-attachments/assets/a78a32e3-3034-4f06-8683-e66d22436842