--- title: "Creating a Dataset of Past Conversations" slug: "ai-agents-creating-a-dataset" updated: 2026-08-28T06:14:38Z published: 2026-08-28T06:14:38Z canonical: "docs.sestek.com/ai-agents-creating-a-dataset" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.sestek.com/llms.txt > Use this file to discover all available pages before exploring further. # Creating a Dataset of Past Conversations A dataset decides which past conversations a historical test evaluates. You describe the sample you want, by date, channel, length and what was recorded about the conversations, and the platform tells you how many it found before you save. Running a test against one is covered in [Creating a Test](https://docs.knovvu.com/docs/en/ai-agents-creating-a-test). What the module measures overall is on [AI Testing](https://docs.knovvu.com/docs/en/ai-agents-ai-testing). > **📝 Note:** Only conversations held against a **published** version of the project can be sampled. A project that has never been published has nothing to draw on, however much traffic its Conversations page shows, because that traffic came from the draft designer. --- ## The Datasets page **Datasets** sits under **AI Testing** in the main navigation. The list shows each dataset with its **Name**, **Description**, **Number of Targeted Conversations** and **Created Date**. ![The Datasets page](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/ai-agents-creating-a-dataset-list-empty.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A20%3A13Z&se=2026-12-02T06%3A20%3A13Z&sr=b&sp=r&sig=BiyD9Aj57RXBRNunEpFar29G77v91WFX2LpKApcpB2M%3D) **+ New Dataset** opens the form. Clicking a dataset's name reopens that same form as **Edit Dataset**, so there is no read-only view: opening one is editing it. --- ## Defining the sample ![The New Dataset form](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/ai-agents-creating-a-dataset-form-fixed.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A20%3A13Z&se=2026-12-02T06%3A20%3A13Z&sr=b&sp=r&sig=3euyW3h%2B%2FSUks9szVVlH9NmFu70mMJgi8zHaGBo29%2Fw%3D) **Dataset Name** and **Description** are both required. The description is for the people who will pick this dataset from a list later, so say what kind of conversation is in it. The **Sampling** section is the sample itself. | Field | What it does | | --- | --- | | Number of Conversations | How many conversations to pull. Required. | | Live Agent Handover (%) | How much of the sample should be conversations that ended with a handover to a person. Required, and 0 is a valid answer. | | Date Range | Which window to pull from. Two modes, below. | | Channel | Which channels count. Required, and it defaults to **All Channels**. | | Min Session Duration (sec) | Drops conversations shorter than this, which is how the one-line hangups and misdials are kept out. | ### Fixed Dates or Relative **Fixed Dates** asks for a **Start Date** and an **End Date**, and that window never moves. ![The same form with Relative selected](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/ai-agents-creating-a-dataset-form-relative.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A20%3A13Z&se=2026-12-02T06%3A20%3A13Z&sr=b&sp=r&sig=HbhHxtdn6Y8L97cVqsGG9YLeajeMml9cLq2BDfsg0P4%3D) **Relative** replaces the two dates with a **Period**: Today, Yesterday, Last Week, Last Month or Last 3 Months. The window is worked out again each time the test runs, so a dataset set to Last Week always means the week before the run rather than the week before you saved it. Pick Relative for a dataset you intend to run repeatedly and Fixed Dates for a one-off measurement of a period you want to keep coming back to. --- ## Narrowing it further Two optional sections sit under the sampling fields, and both work the same way: pick what to filter on, pick an operator, then pick the values. ![An AI Insight filter and a Custom Attribute filter](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/ai-agents-creating-a-dataset-filters.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A20%3A13Z&se=2026-12-02T06%3A20%3A13Z&sr=b&sp=r&sig=Qbk46x5WE1q4OCICbAyFVRWnqAG%2F0V82rjw2Rtm9j9o%3D) **AI Insight Filters** filter on what a model extracted from the conversation after it ended, so a dataset can be narrowed to the conversations where Churn Risk came out High. **Custom Attribute Filters** filter on what a flow recorded itself, such as whether a payment link was created. This is what turns a dataset from "some conversations from last month" into a question worth asking. Evaluating a random sample tells you how the project does on average. Evaluating the conversations that carried a high churn risk tells you how it does when it matters. Both sections take more than one row, and each row can hold several values. --- ## Confirming what was found **Save** does not save straight away. It first reports what the sample actually turned up. ![The Confirm sampling dialog](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/ai-agents-creating-a-dataset-sampling-preview.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A20%3A13Z&se=2026-12-02T06%3A20%3A13Z&sr=b&sp=r&sig=wXiYxHDxsHnip%2B8wnoQQRMo7x3C12AEZWL%2BlOsbC7VY%3D) The dialog compares what you asked for against what exists: how many conversations you requested and how many were found, and the same for live agent handovers, each marked **Met** when the sample can be filled. A sentence underneath states what the dataset will hold, and **Yes** saves it. This is the step that catches an empty dataset before it becomes a test that evaluates nothing. If the numbers come back short, widen the date range, drop a filter, or lower the minimum duration, and try again. ![The saved dataset in the list](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/ai-agents-creating-a-dataset-list-saved.png?sv=2026-02-06&spr=https&st=2026-12-02T05%3A20%3A13Z&se=2026-12-02T06%3A20%3A13Z&sr=b&sp=r&sig=dfOL%2FiEt5ddh7PmmooLeoxkKd3jXaXRuTgNE%2Fv%2B5Yio%3D) --- ## Limits | Item | Value | | --- | --- | | Conversations per dataset | 10 to 200 | | Date range | Up to 3 months | | Min Session Duration | 0 to 3600 seconds | | AI Insight filters | 20 | | Dataset name | Up to 100 characters | | Description | Up to 1000 characters |