Testing your AI Agent

The Test AI Agent feature allows you to validate how well the agent understands and responds to queries based on the topics derived from your connected content sources. These topics and subtopics are automatically generated and define the knowledge scope of your AI Agent. You cannot edit or remove them, but they provide the foundation for how the agent interprets and responds to user questions.

Testing can be carried out in the Integrated Mode. You can test how the AI Agent performs in your live environment alongside your existing systems.

To test AI Agent:
  1. In the Test AI Agent step, the Intents section lists the intents derived from the content sources you provided. A working preview of the AI Agent is available on the same page. You can type queries and interact with the AI Agent to evaluate its efficiency and ensure that it correctly applies the configured settings and data sources.

  2. You can edit or delete intents that are derived from source topics. To edit an intent, click the edit icon next to it.

    Note: If the AI Agent is created using an eGain Knowledge Base, source-derived intents cannot be edited. You can only delete them.

  3. To add a custom intent, click Add Intent. In the Add Intent dialog, provide the following details and click Save:

    • Name (required): Enter a name for the intent.
    • Description: Enter a description. The AI Agent uses this description to identify the intent.
    • Assign Workflow: Select a process workflow to associate with this intent. When a customer query matches this intent, the AI Agent routes it directly to the assigned workflow, bypassing KB search. Workflows are created in the Workflows tab. For more information, see Creating Process Workflows.
  4. You can also upload more sources by clicking the Upload More Content button if the testing does not provide the required responses.

  5. When you are done testing the AI Agent, click the Proceed to Next Step button.