pm4py.llm.abstract_ocel_ocdfg#
- pm4py.llm.abstract_ocel_ocdfg(ocel: OCEL, include_header: bool = True, include_timestamps: bool = True, max_len: int = 10000) str [source]#
Obtains the abstraction of an object-centric event log, representing in text the object-centric directly-follows graph
- Parameters:
ocel (
OCEL
) – object-centric event loginclude_header (
bool
) – (boolean) includes the header in the abstractioninclude_timestamps (
bool
) – (boolean) includes the timestamp information in the abstractionmax_len (
int
) – maximum length of the abstraction
- Return type:
str
import pm4py ocel = pm4py.read_ocel("tests/input_data/ocel/example_log.jsonocel") print(pm4py.llm.abstract_ocel_ocdfg(ocel))