https://github.com/rastmob/wordpress-llms-output-plugin
A WordPress plugin to export posts, pages, and custom post types as JSON for training Language Models (LLMs).
https://github.com/rastmob/wordpress-llms-output-plugin
ai data llm llms training training-data wordpress wordpress-development wordpress-plugin
Last synced: about 2 months ago
JSON representation
A WordPress plugin to export posts, pages, and custom post types as JSON for training Language Models (LLMs).
- Host: GitHub
- URL: https://github.com/rastmob/wordpress-llms-output-plugin
- Owner: rastmob
- License: mit
- Created: 2025-02-02T09:33:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-02T09:43:14.000Z (over 1 year ago)
- Last Synced: 2025-03-28T10:50:42.803Z (about 1 year ago)
- Topics: ai, data, llm, llms, training, training-data, wordpress, wordpress-development, wordpress-plugin
- Language: PHP
- Homepage: https://rastmobile.com/en/
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LLMs Training WordPress Plugin
A WordPress plugin to export posts, pages, and custom post types as JSON for training Language Models (LLMs).
## Description
The **LLMs Training** plugin allows you to export your WordPress content (posts, pages, and custom post types) as a JSON file. This JSON file can be used to train Language Models (LLMs) like GPT, BERT, or other NLP models.
## Features
- Export posts, pages, and custom post types as JSON.
- Include metadata such as title, content, author, categories, tags, and more.
- Simple one-click export from the WordPress admin dashboard.
- JSON file saved in the WordPress uploads directory with a downloadable link.
## Installation
1. Download the plugin ZIP file or clone this repository.
2. Upload the `llms-training` folder to the `/wp-content/plugins/` directory of your WordPress installation.
3. Activate the plugin through the **Plugins** menu in WordPress.
4. Go to **LLMs Training** in the admin menu and click **Export Data** to generate the JSON file.
## Usage
1. Navigate to **LLMs Training** in the WordPress admin menu.
2. Click the **Export Data** button.
3. Once the export is complete, a download link for the JSON file will appear.
## Example JSON Output
```json
[
{
"id": 1,
"title": "Hello World",
"content": "Welcome to WordPress. This is your first post.",
"excerpt": "",
"slug": "hello-world",
"date": "2023-01-01 00:00:00",
"modified": "2023-01-01 00:00:00",
"author": "admin",
"categories": ["Uncategorized"],
"tags": []
}
]