pm4py.llm.abstract_ocel#
- pm4py.llm.abstract_ocel(ocel: OCEL, include_timestamps: bool = True) str [source]#
Obtains the abstraction of an object-centric event log, including the list of events and the objects of the OCEL
- Parameters:
ocel (
OCEL
) – object-centric event loginclude_timestamps (
bool
) – (boolean) includes the timestamp information in the abstraction
- Return type:
str
import pm4py ocel = pm4py.read_ocel("tests/input_data/ocel/example_log.jsonocel") print(pm4py.llm.abstract_ocel(ocel))