Zammo’s built-in Retrieval-Augmented Generation (RAG) capabilities streamline the response generation process by automating multiple steps behind the scenes. While much of this occurs invisibly, viewing the raw RAG results before they are refined and delivered as the bot's response can provide valuable insights for troubleshooting and optimizing the system's design.
The RAG raw results are contained in the property turn.rag and there are a few ways to capture and view its contents. The most common ways are with the Watch Panel and the Send a Response activity.
One way to view the RAG raw response is with the Watch Panel in UI Builder. To use this tool, click on the Watch label at the bottom of the screen.
The Watch Panel will pop up. Click on the + Add Property option:
Click in the field that appears in the Name column and enter turn.rag.
<aside> 💡
Please note that the property turn.rag uses lower-case letters.
</aside>
Launch the Test Bot and ask a question of the content in the knowledge base. In this example, the question, “What does displacement mean?” is asked. The response will display in the Value column. For easier viewing, select the pop-out window.