用户可通过该项目从自然语言描述自动生成标准BPMN 2.0流程模型(XML)和可视化图表(SVG)。核心功能基于多智能体框架实现,支持合成数据集,需Python 3.12+及Graphviz环境。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 9 months ago |
MAPM: Business Process Model Generation
This project is based on a multi-agent framework and automatically generates standard BPMN 2.0 process models (XML) and visual diagrams (SVG) from natural language descriptions.
The synthetic dataset used in this project is located in the Complex-BPMN-Bench folder in the project's root directory.
🛠️ Prerequisites
- Python 3.12+
- Graphviz (System-level software, used for drawing):
- Windows: Download and install the installation package. Note: During installation, please select "Add Graphviz to the system PATH for all users".
- Mac:
brew install graphviz - Linux:
sudo apt-get install graphviz
📦 Installation steps
-
Install Python dependencies:
pip install -r requirements.txt -
Model Preparation: Please ensure that the locally fine-tuned DeBERTa model folder
final_activity_classifier_deberta_PMois placed in the project's root directory. -
Configure API Key: Open
config/settings.py(or modify the environment variables directly) and fill in your information:MODELSCOPE_API_KEY(used for LLM calls)TAVILY_API_KEY(for search tools)
🚀 How to run the program
Run the main program directly:
python main.py
Introduction
用户可通过该项目从自然语言描述自动生成标准BPMN 2.0流程模型(XML)和可视化图表(SVG)。核心功能基于多智能体框架实现,支持合成数据集,需Python 3.12+及Graphviz环境。【此简介由AI生成】
Customize your domain