When the AI provides an answer, there’s usually a reason behind it. This feature allows you to see the underlying data the AI used to form its response.

How to use this feature?

1

Filter sessions

Filter sessions by the AI agent. This will display a list of all ongoing conversations where the AI is active.

2

Click on the debug button

Clicking this will open a popup showing the data the AI used to answer the question.

3

Actions, Knowledge, and Keywords

  • Actions: These represent the steps the AI took to formulate its response.
  • Knowledge: This shows the data or knowledge the AI relied on to answer the question.
  • Keywords: These are the search terms or keywords the AI used in its hybrid search process.

How to enable debug mode on the widget?

For development purposes, you can enable debug mode on the widget by passing the debug prop to the initOpenScript function. This way, the widget will log all the messages and events to the console and to the chat ui (default: false)

Read more here