Open source Python library for deriving explanations about business processes based on process,causal and XAI perspectives
Project description
SAX4BPM
This is a designated Python library that aims to provide an easy and intuitive way of deriving explanations about business processes, considering multiple perspectives. Concretely, three major knowledge ingredients—a process model, a causal process model, and XAI attribute ranking—are derived and subsequently synthesized by an LLM for the construction of process and context-aware explanations, namely Situation-aware Explanations (SAX explanations). The repository contains the source code which can be cloned, or the library can be installed as a Python package using pip install sax4bpm
.
🏁 Getting started: https://ibm.github.io/sax4bpm/installation.html
🛠️ Tutorials: https://ibm.github.io/sax4bpm/tutorials.html
📦 Python Package: https://pypi.org/project/sax4bpm/
Documentation
🗃️ The full documentation for this repository can be found at GitHub Pages.
Introduction
The library provides three layers of business process analysis- process mining, causal discovery, XAI analysis, and LLM-powered blending of the analysis outcomes into human-readable process explanations functionality.
We also provide a simple Streamlit UI for experimentation and discovery of the provided library functionalities.
The library allows importing process event logs in standard formats (MXML, XES, CSV) and invoking the discovery functionality of the desired layer.
For the process perspective, we utilize the open-source PM4PY library allowing the user to invoke process mining algorithms and create a process-model representation out of the process event logs.
We can explore the existing variants in the process model, and choose a particular variant for further analysis.
After choosing the appropriate variant we can perform causal discovery to infer the causal dependency model for the particular variant and compare it with the process model to discover discrepancies.
Finally, we can blend the discovery results using LLM-powered analysis of the different process knowledge layers, and receive answers to user queries based on this analysis.
Related Papers
Causal Business Processes
- F. Fournier, L. Limonad, I. Skarbovsky, Y. David, The WHY in Business Processes: Discovery of Causal Execution Dependencies, arXix:2310.14975, 2024.
Leveraging LLMs to explain Business Processes
- D. Fahland, F. Fournier, L. Limonad, I. Skarbovsky, A. J. E. Swevels, How well can large language models explain business processes?, arXiv:2401.12846, 2024.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sax4bpm-0.2.0.tar.gz
.
File metadata
- Download URL: sax4bpm-0.2.0.tar.gz
- Upload date:
- Size: 633.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ccaded933f2ceef040cc0b906255ecfc414608e0102bb5443f2c9193ecc787d |
|
MD5 | 3e41d60b5ef5ca90852f36c715228a98 |
|
BLAKE2b-256 | 7df872472facd9acca948df0a460ab11afca90b6d60aa52e10c9dd748361973f |
File details
Details for the file sax4bpm-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: sax4bpm-0.2.0-py3-none-any.whl
- Upload date:
- Size: 74.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cde26a1b110f85787b72503c205ecf8db7637cc85fd07b34badfe1369cc70c9 |
|
MD5 | 32330cf46242adad103dfe369c66591e |
|
BLAKE2b-256 | aae45a54ff4bd12ed98193bda359319b08d72be70a267cd5512b3c724a17149d |