abstract_sna
Summarizes a social network model by reporting the top weighted connections, resource counts, sources, and sinks. Use this to analyze handover, working together, or subcontracting networks from event logs.
Instructions
Describe the top-k connections of a social-network (SNA) model in prose.
pm4py's LLM abstractions do NOT ship an sna_to_descr; this tool is
hand-written. It reports:
total resource / connection counts
the
top_kstrongest connections by weight (source → target, weight)resources with no outgoing connections (network sinks — common endpoints)
resources with no incoming connections (network sources — unusual entry points)
Works on any handle produced by discover_handover_network,
discover_working_together_network, discover_subcontracting_network,
or discover_activity_based_resource_similarity. truncated is always
False since top_k bounds the output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| sna_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||