Analyze user queries¶
Alan AI provides advanced analytics on user queries, helping you understand how users interact with the AI agent. The platform anonymizes user information and logs all requests and responses, including any unhandled queries. With Alan AI Analytics, you can see patterns, identify frequently asked questions and spot the areas where the AI might need improvement.
Use Case¶
As a developer, you can use Alan AI Analytics to pinpoint where the AI agent may not be fully addressing user needs. For example, if you notice a high number of unhandled queries related to a specific topic, you can update the AI agent logic or expand its knowledge base to cover that area better.
Prerequisites¶
To successfully follow this exercise, make sure the following prerequisites are met:
You have signed up for Alan AI Studio and created a project for the AI agent. For details, see Sign up for Alan AI Studio.
You have set up a static and dynamic corpuses for the AI agent. For details, see Create a static corpus and Create a dynamic corpus.
Access Alan AI Analytics¶
To view analytics data for your AI agent:
In Alan AI Studio, at the top of the code editor, click Analytics.
In the Users with dialogs widget, select a user.
In the Dialogs widget, select a dialog session for this user.
Review the user queries and AI agent responses:
Validation¶
It is important to monitor the AI agent performance. By continuously refining the AI agent in this way, you can keep it closely aligned with user needs and expectations.