pm4py.llm.abstract_declare#

pm4py.llm.abstract_declare(declare_model, include_header: bool = True) str[source]#

Textually abstracts a DECLARE model

Parameters:
  • declare – DECLARE model

  • include_header (bool) – (boolean) includes the header of the response

Return type:

str

import pm4py

log = pm4py.read_xes("tests/input_data/roadtraffic100traces.xes", return_legacy_log_object=True)
log_ske = pm4py.discover_declare(log)
print(pm4py.llm.abstract_declare(log_ske))