You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何为Kogito中DMN启用决策执行追踪及响应详情输出?

Great to hear you've got the dmn-quarkus example up and running! Let's tackle your two questions one by one:

1. Enabling Decision Execution Sequence Tracing in Kogito

Yes, there are configuration properties you can use to enable tracing and print the decision execution sequence for your DMN models in Kogito. Here's how to set them up in your application.properties file:

  • Enable the core decision tracing functionality:
    kogito.decision.tracing.enabled=true
    
  • Set the appropriate log level to capture and print the detailed execution sequence:
    quarkus.log.category.org.kie.kogito.tracing.decision.level=DEBUG
    

Once configured, your application logs will output a step-by-step breakdown of the DMN execution flow. This includes the order in which decision nodes are triggered, input values passed to each node, computed results, and dependencies between nodes—giving you full visibility into how your model arrives at its final decision.

2. Including Decision Failure Details in Every Response

You're right that Kogito returns failure details when submitting malformed JSON, and you can configure it to include such execution details in all responses (whether successful or failed). Add this property to your application.properties:

kogito.decision.include-execution-result=true

With this setting enabled, every response body will include a complete execution result object. This object contains not just the final decision output, but also:

  • Execution status of each individual decision node
  • Any error messages or validation failures (if present)
  • Intermediate calculation details from the model's execution

This means you'll get full context for every decision request—whether it succeeds without issues or encounters formatting/logic errors.


内容的提问来源于stack exchange,提问作者Ravi Mangalagiri

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.06 18:42:42