Analyze Knowledge Base responses from Autonomous Nodes in Botpress with the “After LLMz Execution” hook.
Capture metrics like query content, response source, and user context for precise insights into Knowledge Base interactions and improved bot performance.
event
: The Event object with details about the interaction.execution
: An object containing data on the LLMz execution, including details of each iteration and response content. More information on the execution
object structure is provided below.execution
Objectexecution
object provides detailed information about the actions taken by the Autonomous Node, specifically capturing each iteration and its outcome. This includes messages sent, code executed, signals received, and more. Here’s an in-depth look at its structure and contents:
execution
Object"success"
, "partial"
, "failure"
.
"partial"
, "success"
.ThinkSignal
or other signals, detailing contextual reasoning."AutonomousNode"
.