Plugin Management User Guide
Compileo's Plugin System allows you to easily extend the platform's capabilities by installing add-ons. This guide explains how to manage plugins via the Graphical User Interface (GUI).
Accessing the Plugin Manager
- Navigate to the Settings page from the sidebar.
- Click on the Plugins tab.
Installing a Plugin
To install a new plugin:
- Locate the Install Plugin section in the Plugins tab.
- Click Browse files or drag and drop your plugin
.zipfile into the upload area. - Click the Install button.
- The system will upload, verify, and install the plugin. A success message will appear upon completion.
Note: Some plugins may perform automated setup tasks during installation (e.g., downloading necessary tools or drivers). This may take a few moments. Ensure you only install plugins from trusted sources.
Managing Installed Plugins
The Installed Plugins section lists all currently active plugins on your system. For each plugin, you can see:
- Name & Version: The display name and version number.
- Description: A brief summary of what the plugin does.
- Author: The creator of the plugin.
- Details: Technical details like the plugin ID and entry point.
Uninstalling a Plugin
To remove a plugin:
- Find the plugin you wish to remove in the Installed Plugins list.
- Expand the plugin details if necessary.
- Click the ๐๏ธ Uninstall button.
- Confirm the action if prompted. The plugin will be immediately removed from the system.
Example: Anki Dataset Generator
A reference plugin, "Anki Dataset Exporter", is available to add Anki flashcard export capabilities to the Dataset Generation module.
- Install the
compileo-anki-plugin.zip. - Go to the Dataset Generation page.
- In the "Output Format" dropdown, you will now see an option for anki.
- Select your desired Generation Mode (Instruction Following, Question and Answer, Summarization, etc.).
- Generating a dataset with this format will produce a semicolon-separated text file (
.txtextension) compatible with Anki import.
Generation Mode Support: - Instruction Following: Creates flashcards with instructions on the front and responses on the back - Question and Answer: Traditional Q&A format with questions on the front and answers on the back - Summarization: Content summaries on the front with key points on the back - Other Modes: Automatically adapts to any generation mode supported by Compileo
File Format:
- Output: dataset_[job_id]_extract.txt
- Format: question;answer (semicolon-separated)
- Compatible with Anki's built-in import feature
- HTML formatting supported for rich text display
Example: Scrapy-Playwright Website Scraper
The "Scrapy-Playwright Website Scraper" plugin enables extracting content from dynamic websites that require JavaScript rendering.
- Install: Upload and install the
compileo-scrapy-playwright-scraper.zip. The plugin will automatically install browser dependencies (playwright install) during setup. - Usage (CLI): Use the new command provided by the plugin:
- Usage (API): Send a POST request to
/api/v1/plugins/scrapy-playwright/scrapewith the URL and configuration. - Usage (GUI): In the Document Processing tab, you can use the "Scrape Website" feature to ingest content directly from URLs.