abstract_case
Generate a natural-language description of one case from an event log, walking through each event and its attributes. Optionally drop NaN attributes to shorten output.
Instructions
Describe one case as a natural-language walkthrough of its events.
case_id must match a value in the log's case:concept:name column.
pm4py's case_to_descr has no MAX_LEN parameter — the full case
description is always returned, so truncated is always False.
drop_nan_attrs (default True, new in 0.3.2) strips
<attr> = nan substrings from the output, cutting token use by ~70%
on real logs without losing any non-NaN signal. Pass False for the
exact pre-0.3.2 verbose output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | ||
| case_id | Yes | ||
| drop_nan_attrs | No | ||
| include_event_attributes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||