> For the complete documentation index, see [llms.txt](https://docs.storylane.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.storylane.io/repx-chat/setting-up-repx/testing-and-evals.md). Agents can also search and read this documentation through its [MCP server](https://docs.storylane.io/~gitbook/mcp).

# Testing & Evals

Here's how you can play with how your RepX agent answers questions

Once you've trained RepX, chat with it before it goes live. Testing shows you how it handles real buyer questions, whether it qualifies visitors the way you expect, and where it needs more content or clearer instructions.

**Jump ahead:**

* [Chat with your agent](#chat-with-your-agent)
* [Evals](#evals)
* [Share with your team](#share-it-with-your-team)

### Chat with your agent

Click **Chat with \[your agent's name]** at the bottom of the left sidebar to open a conversation with your agent. Try the questions your buyers ask most:

* **Product questions:** "Can it do X?" or "How does Y work?"
* **Pricing:** which plan fits, what's included, whether there's a free option.
* **Competitors:** how you compare to the tools buyers are evaluating.
* **The full qualification flow:** answer the qualification questions as a buyer would, and check that RepX asks for an email at the right moment and suggests the right next step.

### **Fix what you find**

| If RepX...                                      | Fix it with                                                                                                           |
| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| Gets a fact wrong or uses outdated information  | An [FAQ](https://docs.storylane.io/repx-chat/training-repx/webpages-docs-and-sales-transcripts) with the exact answer |
| Doesn't know the answer                         | More training content: a link, file or FAQ                                                                            |
| Frames your product or pricing the wrong way    | Brand                                                                                                                 |
| Says something it shouldn't                     | A Rule                                                                                                                |
| Shows a demo, image or video in the wrong place | The asset's [display instruction](https://docs.storylane.io/repx-chat/training-repx/demos-images-and-videos)          |
| Behaves the wrong way on a specific page        | A [playbook](https://docs.storylane.io/repx-chat/playbooks/introduction-to-playbooks) for that page                   |

### **Evals**

An eval is a scenario your agent needs to get right, such as a pricing question or a full qualification flow. Evals let you recheck your agent's answers in one click, instead of retesting by hand every time you change something.

Find them under **Training → Evals**.

<figure><img src="https://2714158815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5THBKNFo5kBfDJULy3RM%2Fuploads%2FlUCVkBSP1Cxnjb5ZJDcl%2FScreenshot%202026-11-23%20at%202.34.18%E2%80%AFPM.png?alt=media&amp;token=f0e315bd-3705-455b-872f-d554d765246e" alt=""><figcaption></figcaption></figure>

#### **Creating evals**

You can create evals in two ways:

* **Generate them:** RepX creates a set of questions and expected answers from your training content.
* **Write your own:** add the question a buyer would ask, then define what a good answer looks like. That can be an expected answer, or criteria RepX checks the response against.

A good starting set covers a product question, a competitor question and the full qualification flow. Each agent can have up to 300 evals.

#### **Running evals**

Run your evals after any major change to your training content, Brand, Rules or playbooks. Each run shows how your agent responded, including any demos, images, videos or links it presented, so you can spot answers that changed. When an eval fails, use the table above to find the right fix, then run it again.

### **Share it with your team**

Before launch, share your agent with your sales and marketing teams and ask them to try the questions they hear most. They'll catch gaps faster than anyone.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.storylane.io/repx-chat/setting-up-repx/testing-and-evals.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
