Skip to content

Dataset

Chatbot training datasets with human handoff logs

A chatbot training dataset with human handoff is a set of real customer conversations that began with an automated assistant and continued with a human agent, kept as one thread: the bot's turns with detected intents and confidence, the handoff trigger, the summary passed across, the agent's replies and the resolution. SourceX sources these logs to a buyer's spec from established businesses running chat and messaging support on platforms such as Zendesk, Intercom, Salesforce and Genesys. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Customer conversations that start with a bot and continue with a human agent, kept as one thread
Typical systems
Zendesk, Intercom, Salesforce Service Cloud, Genesys Cloud, Dialogflow CX, Amazon Lex, Copilot Studio
Typical history
Specified by the buyer; limited by transcript retention and by bot rebuilds or vendor changes
Modality
Message text with per-turn NLU output and structured handoff, routing and outcome events
Delivery formats
Agreed per order; typically JSONL, one conversation per line, plus the intent catalog and flow versions
Preparation
Customers and agents pseudonymized; account numbers, card details and contact data typed into chat redacted
Licensing
Rights reviewed against the privacy notice and the bot vendor's terms; permitted use set in the license
Availability
Sourced to your spec; supply is not guaranteed and depends on what each platform logged
TextIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
conversation_idstringPseudonymous ID shared by the bot session and the agent session, so both halves stay one thread.
entry_pointobjectMessaging surface, the page or app screen the chat opened from, and whether the customer was signed in.
botobjectBot type (scripted flow, intent model or generative agent), flow or model version, and the fallback threshold in force.
turnsarrayEvery message in order with sender role (customer, bot, agent or system), timestamp and text; buttons kept as structured choices.
turns[].nluobjectFor customer turns the bot handled: top intent, its score, runner-up intents and extracted entities, as the platform logged them.
turns[].bot_actionobjectThe flow node or dialog step, the answer source (scripted, knowledge article or generated) and any API call with its status.
handoffobjectTurn index, time, trigger class (customer request, low confidence, policy rule, sentiment, bot error or agent takeover), the raw platform reason code and the no-match count before it.
handoff_contextobjectWhat crossed the boundary: the summary, collected slot values, the routed intent and how much of the transcript the agent could see.
routingobjectTarget queue or skill, seconds from handoff to the first agent message, and abandonment during the wait.
agent_sessionobjectAgent pseudonym, macros used, onward transfers and the wrap-up code the agent selected.
reaskobjectAnnotation, where agreed, of details the agent asked for that the customer had already given the bot.
outcomeobjectPlatform resolution state, linked ticket, repeat contact within the partner's window and any survey rating.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "conversation_id": "cv_7f3a91",
  "entry_point": { "surface": "web_messenger", "page": "/account/billing", "signed_in": true },
  "bot": { "type": "intent_model", "flow_version": "2024-03-11.2", "fallback_threshold": 0.55 },
  "turns": [
    { "i": 1, "role": "customer", "t": "2024-04-02T14:03:41Z",
      "text": "I was charged twice for March, order [ORDER_ID]",
      "nlu": { "intent": "billing.duplicate_charge", "score": 0.81, "entities": { "order_id": "[ORDER_ID]" } } },
    { "i": 2, "role": "bot", "t": "2024-04-02T14:03:43Z",
      "text": "One of the two payments is a pending authorization that will drop off in a few days.",
      "bot_action": { "node": "explain_pending_auth", "api_call": { "name": "payments.lookup", "status": "ok" } } },
    { "i": 3, "role": "customer", "t": "2024-04-02T14:04:09Z", "text": "no, my bank shows two settled charges",
      "nlu": { "intent": "billing.duplicate_charge", "score": 0.48 } },
    { "i": 4, "role": "bot", "t": "2024-04-02T14:04:10Z", "text": "Sorry, I did not get that. Could you rephrase?" },
    { "i": 5, "role": "customer", "t": "2024-04-02T14:04:36Z", "text": "agent please", "nlu": { "intent": "request_human", "score": 0.97 } },
    { "i": 6, "role": "agent", "t": "2024-04-02T14:06:58Z",
      "text": "I have the chat so far. Both March charges settled, so I have refunded the second one, reference [REFUND_ID]." }
  ],
  "handoff": { "at_turn": 5, "trigger": "customer_request", "platform_reason": "user_requested_agent",
               "no_match_turns": 1 },
  "handoff_context": { "summary": "Duplicate March charge. Bot explained pending authorization.",
                       "slots": { "order_id": "[ORDER_ID]" }, "transcript_visible_to_agent": "full" },
  "routing": { "queue": "billing_tier1", "wait_seconds": 142, "abandoned_in_queue": false },
  "agent_session": { "agent": "ag_0412", "transfers": 0, "wrap_up": "refund_issued" },
  "reask": { "agent_reasked": [] },
  "outcome": { "platform_state": "escalated", "ticket_id": "tk_55b102", "repeat_contact_7d": false, "survey_rating": 5 }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Learn when to hand off

Conversations labeled with the trigger and the turn where it fired teach a model to recognize when carrying on costs the customer more than a transfer.

Find the intents and answers a bot lacks

A low-confidence or no-match turn followed by an agent's working answer is a paired example of a real request and a response the bot did not have.

Train handoff summaries

The context the bot passed, set against what the agent still had to ask, gives supervised examples for summaries that spare the customer from repeating themselves.

Score containment on outcomes

Bot-only conversations with repeat-contact and ticket links let you grade an assistant on whether the problem went away, not on whether a transfer happened.

Build regression sets from real failures

Each failed bot turn with its eventual human resolution becomes a held-out test item to replay against a new model or flow version.

Use-case guides: Customer support agents, Private evaluation sets, Enterprise and computer-use agents

What makes this data valuable

One thread across the boundary

Bot and agent halves share one conversation ID.

Raw trigger codes kept

The platform's own reason code is delivered beside the normalized trigger class, with the mapping.

Per-turn NLU output

Intent, score and alternates for each customer turn, not only the final routed intent.

Bot version on every conversation

Flow, model and threshold versions separate one era of bot behavior from the next.

Outcome beyond the session

Repeat contacts, linked tickets and reopen events show whether a bot-only session solved anything.

Contained sessions included

Bot-only conversations sampled the same way give the comparison set.

Record timeline

Chatbot training dataset

This page covers chatbot logs with human handoff.Illustrative

The handoff is a label for where automation failed

Every handoff marks the turn where a company's automation stopped and a person took over. Nobody annotated it. The routing system recorded it to move the conversation to a queue. The label is only as useful as its trigger, and the four common triggers teach different things.

A customer-requested handoff shows a loss of patience, and the turns before it show what the bot did to cause it. Customers who ask for a person on the first turn say nothing about the bot, so separate them by turn index. A low-confidence handoff is the bot's own admission that the intent score fell under a threshold or the no-match counter ran out, and these turns are the natural source of new intents. Amazon Lex describes its confidence scores as comparative, not absolute, and shows none for its fallback intent, so do not pool scores across bots or bot versions.

A policy-forced handoff sends cancellations, disputes or legal complaints to a person whatever the bot understood. Treated as failures, these teach a model to give up on requests it could handle. Treated as rules, they record where a business decided automation was not allowed. A sentiment-triggered handoff inherits the errors of the classifier that fired it. Dialogflow CX attaches a free-form metadata payload to its handoff message with no imposed structure, so ask for the raw reason code and the mapping.

What the agent did next, and what containment hides

The agent's first messages after takeover are the closest thing to a correct answer for the turn the bot failed on: the same customer and question, minutes later. The agent may answer from what is already in the thread, so the bot lacked knowledge. The agent may look something up in a system the bot could not reach, which is a missing tool that no retraining fixes. Or the agent asks for the order number again.

That last case can be measured by comparing the agent's questions with the slots the bot collected. Re-asks happen when the summary never crossed or the transcript stayed behind in another session. In Zendesk's switchboard, the call that passes control can set the message from which earlier history is carried to the agent, so ask what the agent saw. Out of hours, the human half can be an email in the ticketing system that has to be joined back.

Conversations with no handoff need an outcome check before they count as successes, and platforms count them differently. Genesys Cloud counts a session as contained only if it ended without a transfer, agent escalation, abandonment, recognition failure or error. Intercom separates a confirmed resolution, where the customer said the answer helped, from an assumed one, where the customer left without asking for more. By the looser definitions, a customer who gave up and phoned sits in the same bucket as one who got the answer. Check whether the same customer came back within days on any channel, which needs a cross-channel customer key.

What to check before licensing

  • Ask for the customer-facing privacy notice and chat widget disclosure in force in each period, and have counsel confirm they cover use of the conversations for AI training by a third party.
  • Read the bot vendor's terms and data processing agreement for limits on exporting or licensing conversation logs, and ask whether the vendor claims rights of its own in them.
  • Search a sample for card and bank account numbers, one-time passcodes and login details typed into chat. A bot that collects an account number as a slot stores it as an entity value too, so check entities as well as text.
  • Check that the bot half and the agent half share a key. Where the bot and the agent desk come from different vendors, ask how sessions were joined and what share could not be matched.
  • Ask for the mapping from each platform reason code to the trigger class, then read a few conversations of each class to see whether it holds.
  • Ask how a contained conversation was defined, and which channels and what repeat-contact window were checked before a bot-only session was labeled resolved.
  • Lay the conversations out by bot version and date. A rebuilt flow, a retrained NLU model or a move to a generative agent changes what every field means.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

How is this different from a support ticket or live chat dataset?

It contains the automated half of the conversation and the boundary between the halves. A ticket or live chat export usually starts when a person picks the conversation up, so the bot's attempts, its scores and its reason for giving up are missing or flattened into one opening note.

Do the logs include intent and confidence scores?

Yes, where the bot platform logged them. Intent-based bots usually record a top intent, a score and alternates for each customer turn. Scores are not comparable between platforms, or between versions of one bot after retraining. Generative agents often log retrieved sources and a resolution state instead, so state which per-turn signals you need.

Can I get conversations the bot handled without a human?

Yes, bot-only sessions can be included in the spec, and most buyers should include them. Handoff conversations alone show failures, so a model trained on them never learns when not to escalate. Ask for bot-only sessions sampled the same way, with their outcome fields.

Does this cover generative AI agent conversations, or only scripted bots?

It covers both, and the mix depends on when each business changed systems. Many archives begin with button-driven flows, move to intent models and end with a generative agent answering from help-center content. Each era logs different things, so ask for the bot type and version on every conversation.

How is personal data in chat text handled?

Names, emails, phone numbers and account identifiers are removed or replaced before delivery, and the method is recorded. Chat needs extra care because customers paste card numbers, order confirmations, addresses and screenshots. No method catches everything, so review a sample, ask for redacted spans to be marked by category and agree how attachments and images are treated.

What limits how far back the logs go?

Usually retention settings, not the age of the bot. Bot transcripts are often kept for less time than tickets: Microsoft Copilot Studio clears transcript records older than 30 days from Dataverse unless an administrator changes the job. A vendor change can leave older conversations as flat text, so ask for coverage field by field.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026. Own data like this? See how companies license it to AI developers.

See if your company qualifies