Testing the Chat Agent
The Chat Agent Test interface allows you to interact with your AI assistant before deploying it to users. The agent appears as a widget in the bottom-right corner of the test page, using the same configuration that will be available to your end users.
Step 1: Navigate to the Test Interface
- From your project sidebar, expand the Chat Agent section
- Click Test
You'll see the test page with a version selector and instructions.
Step 2: Select a Version
Use the version dropdown to choose which version of your agent to test:
- Click the version selector (displays v1 by default)
- Select the version you want to test from the dropdown
Each version may have different source content, so testing helps verify the agent responds correctly based on the knowledge loaded for that version.
Step 3: Interact with the Widget
The chat widget appears in the bottom-right corner of the test page. Use it exactly as your end users would:
- Click the widget to open the chat interface
- Type questions or prompts related to your project's documentation
- Review the agent's responses for accuracy and completeness
The widget uses the same design, behavior, and knowledge base configured for the selected version.
Step 4: Clear Widget History
If you want to reset your testing session and start fresh:
- Click the Clear Widget History button
- The conversation history in the widget will be cleared
- The agent will start a new session with no memory of previous messages
This is useful for testing first-time user interactions or verifying the agent's initial greeting and behavior.
Next Steps
Once you've confirmed the agent responds correctly, you can:
- Embed the widget on your website or application
- Reset the admin session to clear testing conversations from your admin view
- View chat history to review all conversations across projects