pm4py.algo.querying.llm.injection.pm_knowledge.algorithm module#

pm4py.algo.querying.llm.injection.pm_knowledge.algorithm.apply(db: DataFrame | Connection | OCEL, variant=None, parameters: Dict[Any, Any] | None = None) str[source]#

Provides a string containing the required process mining domain knowledge (in order for the LLM to produce meaningful queries).

Parameters:
  • db – Database

  • parameters – Optional parameters of the method

Returns:

String containing the required process mining knowledge

Return type:

pm_knowledge