Table of contents
This is a historical ChatGPT plugin. Read the project documentation for its implementation and API routes, or consult the source repository.
D2COpenAIPlugin is a ChatGPT plugin that generates diagrams with PlantUML or Mermaid from the conversation.
Features
- Generate diagrams using PlantUML or Mermaid
- Works as a ChatGPT plugin
- Diagram-oriented UI
Original local setup
These instructions describe the original plugin environment. Before using the plugin, make sure to have the following prerequisites installed:
- Python 3.6+
- FastAPI
- uvicorn
- Install Python 3.10, if not already installed.
- Clone the repository:
git clone https://github.com/antoinebou12/D2COpenAIPlugin.git - Navigate to the cloned repository directory:
cd /path/to/D2COpenAIPlugin - Install poetry:
pip install poetry - Create a new virtual environment with Python 3.10:
poetry env use python3.10 - Activate the virtual environment:
poetry shell - Install app dependencies:
poetry install - Consult the repository README for authentication and environment configuration.
Setup
To install the required packages for this plugin, run the following command:
pip install -r requirements-dev.txt
To run the plugin, enter the following command:
python app.py
The original local server command was:
uvicorn app:app --host 127.0.0.1 --port 5003
The original manifest and configuration remain in the source repository.