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 log

  • include_header (bool) – (boolean) includes the header in the abstraction

  • include_timestamps (bool) – (boolean) includes the timestamp information in the abstraction

  • max_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))