YOUNEAEnterprise AI software

Testing Task Consistency Across Voice and Chat

A customer-service coordinator needs an appointment draft that preserves the request when a conversation moves between text, speech and languages.

System overviewVisual summary
One task, two channels
English · voice

18 December 2026 · 14:30

French · chat correction

“Gardez la même date, mais changez l’heure à 15:30.”

Intended request after the correction18 December · 15:30

Same task ID · revised time · confirmation still needed

Illustrative fictional request. Compare the actual model outputs in the walkthrough.

A valid time can still be the wrong appointment

A customer-service coordinator receives an appointment request across chat and voice. The customer changes a detail and switches language. The coordinator needs one current draft, unresolved details and a clear next action. Restarting at each message loses context; retaining the earlier interpretation can lose the correction.

The difficult failure is an apparently valid result. A transcribed time may parse correctly while differing from the spoken request. The language model can also misread a correct transcript. A fluent confirmation would hide which stage changed the meaning, and a booking connector could receive plausible but incorrect parameters.

FEDIL’s 11 June 2026 announcement describes YOUNEA’s LuxAIaaS across voice, chat and messaging, with multilingual conversations, structured summaries and operational workflows including appointments and human escalation. This motivates the task; it does not disclose the company’s internal models or establish this independent design as its architecture. FEDIL product context

The local deliverable stops at a draft to read back or a handoff packet. No real customer, telephone call, CRM or appointment service is involved.

Keep the task constant while changing its channel

The input set contains five authored sessions and ten user turns, with English and French text and six synthetic speech clips. Fictional requests supply the scenario; their audio is generated speech, rather than recordings of customers or independent speakers. Audio files, generation settings and transcripts remain identifiable artifacts.

Each voice turn has an authored reference text. One path retains that text throughout the history. The other substitutes actual ASR transcripts for voice turns and preserves chat unchanged, including the earlier transcribed history. Both paths use the same language model and typed service, and retain the same host-assigned task identity across channels and languages.

This is a channel-consistency control, not a comparison between two NLU algorithms. The reference-text path still uses a model and can fail. If it already misinterprets the request, an incorrect voice result cannot simply be blamed on speech recognition.

Recognition uses the scenario’s known language, with changes between turns rather than mixed-language audio. Synthetic voices do not establish automatic language identification or robustness to callers, accents, noise, telephone channels or interruptions.

Separate transcription, interpretation and readback

Whisper’s pretrained multilingual base checkpoint supplies one local recognizer for both languages. One Qwen model then proposes a complete snapshot—appointment or human-request intent, date and time—from visible user turns. Evidence can refer to an earlier turn when a later message changes only one field. The service checks the proposal and constructs its readback. Neither model is trained or fine-tuned here; alternative checkpoints and decoders remain untested.

With only three fields, the snapshot makes retained and changed information inspectable together without asking the model to perform a separate patch operation. Its cost is that the model can repeat an earlier error or omit a still-relevant fact. A valid schema does not establish the correct date, time, negation or relationship between turns.

The bounded task needs user-request interpretation and a small service contract. Retrieval and multi-agent planning would add variation without establishing whether the request retained its meaning.

Give every stage an inspectable input and output

Trace the same task through speech, interpretation and a readback

Logical modules in the local Python prototype, with production connections shown separately.

INPUT

One task across voice and chat

Fictional English/French requests, stable task/turn IDs and declared channel/language. Voice uses synthetic audio; chat retains its text.

task_id + turn_id + source

PROCESSING RESPONSIBILITIES

  1. Keep the input paths separate

    Reference text bypasses ASR. The speech path replaces only voice turns with actual local Whisper transcripts, preserving the audio and raw output.

    authored text / audio → ASR text
  2. Reconstruct the requested task

    The same Qwen model reads each path’s visible user history and proposes date, time and intent with source quotations. Review labels are not supplied.

    snapshot + turn-bound evidence
  3. Validate and read back

    Check quote binding, calendar/time types and missing fields. Produce a fixed readback, clarification or pending human handoff; no appointment tool executes.

    review_readback / clarify / handoff_pending

REVIEW OUTPUT

A request to confirm, with its evidence

Compare task slots and source histories across both paths. Valid JSON and a valid date do not prove that the customer requested that date.

slots + readback + unresolved issues

DATA AND STATE KEPT BY THE PROTOTYPE

Frozen fictional sessions

Authored bilingual turns, channel assignments and separate review expectations. The same task ID survives the language or channel switch.

Actual speech artifacts

Synthetic audio, raw ASR segments, source/model hashes, declared language and fixed decoder settings.

Interpretation and service trace

Actual model calls, source-bound proposals and deterministic service results for reference-text and transcribed paths.

Human decision

A reviewer listens to the clip, checks the transcript and reads back the date/time. They inspect missing or changed fields before confirming any requested work.

Production connections · proposed

Authenticated channel/session linkage → caller confirmation bound to the current draft → availability and booking API → acknowledged booking receipt or accepted human assignment.

Intake identifies the task, turn, channel, language and artifact. ASR links its transcript to the audio; NLU proposes a snapshot. Typed processing preserves source references and the original output. The service also rejects past appointment dates against a trusted, fixed received_on=2026-11-26, keeping that business rule independent of the model and machine clock.

The important boundary is between an interpretation and an operation. A draft describes the requested appointment; it checks neither availability nor opening hours and is not a booking receipt. A handoff packet describes work for a person; it does not prove that a team accepted it. A spoken confirmation of the request cannot create those external outcomes.

Local files hold the artifacts and service results. Persistent task versions, protection against late transcripts and authenticated delivery are proposed production integrations.

Review the change before forwarding the draft

From incoming information to an accountable handoff

People and systems have separate responsibilities. Dashed steps connect the prototype to a proposed operational process.

  1. Customer

    State or correct the request

    Ask for a fictional appointment, change its time in another language or request a person. Switching channel must not create a new task.

  2. Speech adapter

    Preserve the audio and recognised words

    Transcribe only voice turns with a declared English/French language. Do not silently replace the output with the author’s script.

  3. Task interpreter

    Rebuild the current requested fields

    Read the visible user history for this path, preserving the latest correction and evidence turn. The reference-text branch uses the same model contract.

  4. Draft service

    Expose a readback or a missing field

    Validate types and source locators. Keep a pending human request separate from a completed transfer and a readback separate from a booking.

  5. Reviewer

    Locate the first meaningful difference

    Compare the audio/script, ASR transcript, proposed slots and service state. Word error alone does not explain whether a critical date or negation changed.

  6. Customer and service ownerProposed integration

    Confirm and acknowledge protected work

    A proposed integration would bind confirmation to the current draft and require an actual booking or handoff acknowledgement. This lab does not implement that connection.

The local experiment executes ASR and language-model interpretation on synthetic speech and fictional chat. It does not test real calls, accents, language detection or a Younea service. Booking and human assignment remain proposed.

Recorded execution · same model and service

Follow one task through both input paths

Listen to the synthetic clip, inspect the recognised words, then compare the requested fields. The website replays saved runs.

Task A

French chat changes an English spoken time

Stable task ID: demo-appointment-A

01

EN · Voice disclosure

Source turn A1 · same task

Author’s speech script
I would like a service appointment on the eighteenth of December twenty twenty-six at two thirty in the afternoon.

Synthetic speech. The ASR model receives audio and the declared language, without this script or the expected fields.

Actual ASR transcript
I would like a service appointment on 18 December 20, 26 at 2.30 in the afternoon.

Unedited recognition output. Punctuation and wording can differ from the script.

Control path
Author’s text → same NLU
Requested route
appointment
Date
2026-12-18
Time
14:30

Read back for confirmation

Please review your appointment request for 2026-12-18 at 14:30. This is an interpreted request, not a confirmed booking.

Next: Ask the user to review; external scheduling and confirmation remain proposed.

Speech path
ASR + chat → same NLU
Requested route
appointment
Date
2020-12-18
Time
14:30

Clarify before proceeding

The proposed date 2020-12-18 is earlier than the trusted request date 2026-11-26. Please confirm the intended appointment date.

  • date · past date

Next: Ask the user to clarify or correct the interpreted fields.

Neither path books an appointment. A readback is a draft to confirm; a pending handoff has no accepted human owner or receipt.

Inspect field evidence and the separate authored review

The authored expectations are used after inference. A matching literal quote proves a locator, not that the date, time or correction was understood correctly.

Reference-text proposal
{
  "intent": "appointment",
  "date": "2026-12-18",
  "time": "14:30",
  "evidence": {
    "intent": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on the eighteenth of December twenty twenty-six at two thirty in the afternoon."
    },
    "date": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on the eighteenth of December twenty twenty-six at two thirty in the afternoon."
    },
    "time": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on the eighteenth of December twenty twenty-six at two thirty in the afternoon."
    }
  }
}
Speech-path proposal
{
  "intent": "appointment",
  "date": "2020-12-18",
  "time": "14:30",
  "evidence": {
    "intent": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on 18 December 20, 26 at 2.30 in the afternoon."
    },
    "date": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on 18 December 20, 26 at 2.30 in the afternoon."
    },
    "time": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on 18 December 20, 26 at 2.30 in the afternoon."
    }
  }
}
Development comparison and stage attribution
{
  "expected": {
    "turn_id": "A1",
    "slots": {
      "intent": "appointment",
      "date": "2026-12-18",
      "time": "14:30"
    },
    "status": "review_readback"
  },
  "fields": [
    {
      "field": "intent",
      "expected": "appointment",
      "reference_value": "appointment",
      "transcribed_value": "appointment",
      "reference_proposed_value": "appointment",
      "transcribed_proposed_value": "appointment",
      "reference_matches": true,
      "transcribed_matches": true,
      "paths_differ": false,
      "identical_nlu_input": false,
      "attribution": "aligned_with_authored_expectation",
      "reference_contract_issues": [],
      "transcribed_contract_issues": []
    },
    {
      "field": "date",
      "expected": "2026-12-18",
      "reference_value": "2026-12-18",
      "transcribed_value": "2020-12-18",
      "reference_proposed_value": "2026-12-18",
      "transcribed_proposed_value": "2020-12-18",
      "reference_matches": true,
      "transcribed_matches": false,
      "paths_differ": true,
      "identical_nlu_input": false,
      "attribution": "transcription_path_degradation",
      "reference_contract_issues": [],
      "transcribed_contract_issues": [
        "past_date"
      ]
    },
    {
      "field": "time",
      "expected": "14:30",
      "reference_value": "14:30",
      "transcribed_value": "14:30",
      "reference_proposed_value": "14:30",
      "transcribed_proposed_value": "14:30",
      "reference_matches": true,
      "transcribed_matches": true,
      "paths_differ": false,
      "identical_nlu_input": false,
      "attribution": "aligned_with_authored_expectation",
      "reference_contract_issues": [],
      "transcribed_contract_issues": []
    }
  ],
  "slot_differences": [
    "date"
  ],
  "reference_status_matches": true,
  "transcribed_status_matches": false
}

These are authored bilingual tasks using synthetic speech, not an independent estimate of telephone performance.

02

FR · Chat disclosure

Source turn A2 · same task

Same chat text enters both paths
Gardez la même date, mais changez l’heure à 15:30.

No ASR call for this turn. Earlier transcriptions remain in the speech path’s visible history.

Control path
Author’s text → same NLU
Requested route
appointment
Date
2026-12-18
Time
15:30

Read back for confirmation

Please review your appointment request for 2026-12-18 at 15:30. This is an interpreted request, not a confirmed booking.

Next: Ask the user to review; external scheduling and confirmation remain proposed.

Speech path
ASR + chat → same NLU
Requested route
appointment
Date
2020-12-18
Time
15:30

Clarify before proceeding

The proposed date 2020-12-18 is earlier than the trusted request date 2026-11-26. Please confirm the intended appointment date.

  • date · past date

Next: Ask the user to clarify or correct the interpreted fields.

Neither path books an appointment. A readback is a draft to confirm; a pending handoff has no accepted human owner or receipt.

Inspect field evidence and the separate authored review

The authored expectations are used after inference. A matching literal quote proves a locator, not that the date, time or correction was understood correctly.

Reference-text proposal
{
  "intent": "appointment",
  "date": "2026-12-18",
  "time": "15:30",
  "evidence": {
    "intent": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on the eighteenth of December twenty twenty-six at two thirty in the afternoon."
    },
    "date": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on the eighteenth of December twenty twenty-six at two thirty in the afternoon."
    },
    "time": {
      "turn_id": "A2",
      "quote": "Gardez la même date, mais changez l’heure à 15:30."
    }
  }
}
Speech-path proposal
{
  "intent": "appointment",
  "date": "2020-12-18",
  "time": "15:30",
  "evidence": {
    "intent": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on 18 December 20, 26 at 2.30 in the afternoon."
    },
    "date": {
      "turn_id": "A1",
      "quote": "I would like a service appointment on 18 December 20, 26 at 2.30 in the afternoon."
    },
    "time": {
      "turn_id": "A2",
      "quote": "Gardez la même date, mais changez l’heure à 15:30."
    }
  }
}
Development comparison and stage attribution
{
  "expected": {
    "turn_id": "A2",
    "slots": {
      "intent": "appointment",
      "date": "2026-12-18",
      "time": "15:30"
    },
    "status": "review_readback"
  },
  "fields": [
    {
      "field": "intent",
      "expected": "appointment",
      "reference_value": "appointment",
      "transcribed_value": "appointment",
      "reference_proposed_value": "appointment",
      "transcribed_proposed_value": "appointment",
      "reference_matches": true,
      "transcribed_matches": true,
      "paths_differ": false,
      "identical_nlu_input": false,
      "attribution": "aligned_with_authored_expectation",
      "reference_contract_issues": [],
      "transcribed_contract_issues": []
    },
    {
      "field": "date",
      "expected": "2026-12-18",
      "reference_value": "2026-12-18",
      "transcribed_value": "2020-12-18",
      "reference_proposed_value": "2026-12-18",
      "transcribed_proposed_value": "2020-12-18",
      "reference_matches": true,
      "transcribed_matches": false,
      "paths_differ": true,
      "identical_nlu_input": false,
      "attribution": "transcription_path_degradation",
      "reference_contract_issues": [],
      "transcribed_contract_issues": [
        "past_date"
      ]
    },
    {
      "field": "time",
      "expected": "15:30",
      "reference_value": "15:30",
      "transcribed_value": "15:30",
      "reference_proposed_value": "15:30",
      "transcribed_proposed_value": "15:30",
      "reference_matches": true,
      "transcribed_matches": true,
      "paths_differ": false,
      "identical_nlu_input": false,
      "attribution": "aligned_with_authored_expectation",
      "reference_contract_issues": [],
      "transcribed_contract_issues": []
    }
  ],
  "slot_differences": [
    "date"
  ],
  "reference_status_matches": true,
  "transcribed_status_matches": false
}

These are authored bilingual tasks using synthetic speech, not an independent estimate of telephone performance.

The coordinator inspects the transcript and proposed fields, then reads back the complete current request. The customer should be able to correct a date or time without restarting the task. When information is insufficient or a human is requested, the useful output is a precise question or the current context for handoff.

The controls inspect recorded examples without contacting anyone. Source spans return the reviewer to the input; they do not certify correct interpretation.

Construct the readback from the typed result

The service, rather than another free-form completion, owns the final readback contract. Fixed English templates keep its wording connected to the proposed fields and make missing information visible. Spoken-response generation and localised readback templates are outside this implementation.

The host fixes received_on to 2026-11-26. Dates before that remain visible but trigger past_date and clarification. This rule is independent of model output and authored labels; it does not validate availability or meaning.

Turn a checked snapshot into a reviewable next stepPython14 lines
def build_readback(slots, issues, received_on=RECEIVED_ON):
    """Report an interpreted request, never a completed business action."""
    if any(issue["code"] == "past_date" for issue in issues):
        return "clarify", (f"The proposed date {slots['date']} is earlier than the trusted request date {received_on}. "
                           "Please confirm the intended appointment date.")
    if issues:
        return "clarify", "Please clarify the request; the extracted snapshot has evidence or type issues."
    if slots["intent"] == "human_handoff":
        return "handoff_pending", "You requested a person. A human handoff is pending; no transfer has been performed."
    missing = [field for field in FIELDS if slots[field] is None]
    if missing:
        return "clarify", "Please confirm the missing " + ", ".join(missing) + "."
    return "review_readback", (f"Please review your appointment request for {slots['date']} at {slots['time']}. "
                               "This is an interpreted request, not a confirmed booking.")
Inspect how a candidate remains attached to its input
Keep the model proposal linked to its sourcePython42 lines
def bind_snapshot(candidate, history):
    """Bind each non-null slot to an exact quote in visible user history."""
    slots = {field: None for field in FIELDS}
    bound, issues = {}, []
    if not isinstance(candidate, dict) or set(candidate) != {*FIELDS, "evidence"}:
        return slots, bound, [{"field": "snapshot", "code": "invalid_shape"}]
    evidence = candidate["evidence"]
    if not isinstance(evidence, dict) or set(evidence) != set(FIELDS):
        return slots, bound, [{"field": "evidence", "code": "invalid_shape"}]
    texts = {turn["turn_id"]: turn["text"] for turn in history}
    for field in FIELDS:
        value, span = candidate[field], evidence[field]
        if value is None or (field == "intent" and value == "unclear"):
            if span is not None:
                issues.append({"field": field, "code": "unknown_with_evidence"})
            continue
        if not isinstance(span, dict) or set(span) != {"turn_id", "quote"}:
            issues.append({"field": field, "code": "missing_source_quote"})
            continue
        text = texts.get(span["turn_id"]) if isinstance(span["turn_id"], str) else None
        quote = span["quote"]
        if text is None or not isinstance(quote, str) or not quote.strip() or quote not in text:
            issues.append({"field": field, "code": "source_quote_not_found"})
            continue
        if not isinstance(value, str):
            issues.append({"field": field, "code": "slot_type"})
            continue
        valid = field == "intent" and value in ("appointment", "human_handoff")
        if field == "date" and re.fullmatch(r"\d{4}-\d{2}-\d{2}", value):
            try:
                valid = date.fromisoformat(value).isoformat() == value
            except ValueError:
                valid = False
        if field == "time":
            valid = bool(re.fullmatch(r"(?:[01]\d|2[0-3]):[0-5]\d", value))
        if not valid:
            issues.append({"field": field, "code": "invalid_slot_value"})
            continue
        start = text.index(quote)
        slots[field] = value
        bound[field] = {**span, "start": start, "end": start + len(quote)}
    return slots, bound, issues

This is a mechanical boundary. A real span can support the wrong interpretation, and an ISO-formatted date can still differ from what the customer intended.

Transfer mechanisms rather than product claims

Airbnb separates speech recognition, contact-reason detection and routing. It also uses curated summaries before delivering a self-service resource. The portable mechanisms are stage-specific inspection and a clear readback before the next step. This lab does not reproduce Airbnb’s ASR adaptation, retrieval ranking or reported production effects. Airbnb voice-support engineering

LinkedIn describes registered service contracts, task memory and human-control points. Here those ideas become one bounded task contract and review boundary. There is no distributed agent registry, messaging infrastructure or replication of LinkedIn’s platform. Both references appear in the supplied engineering-case CSV. LinkedIn agent stack

Find the stage that changed the meaning

The two paths can require clarification for different reasons. In B2, the French script requests December 2026, while the recognized text says 2016. Qwen carries 2016 into its date; the past-date rule blocks a readback. The authored-text path extracts the correct date but alters a quoted year to 2 026, causing a separate source-binding failure. A shared final status hides those different causes.

The reference-text path is not an oracle. C1 requests 09:00 without a date. Qwen invents 2025-04-05 and cites the time-only sentence. ISO parsing and literal quote matching cannot expose that semantic error; the past-date rule sends it to clarification. The ASR-text path leaves the date unknown. This does not establish that transcription improves NLU.

In C2, both branches receive identical chat bytes supplying the date. The ASR-history branch proposes the correct date but adds a space inside its quote, so the strict binder rejects it. That is a binding failure, not an incorrect date. All original proposals remain visible; none was repaired by hand.

Transcript fidelity, agreement between branches and agreement with authored task expectations are separate questions. The paired views retain text and fields rather than reducing them to one score. Recognition changes, model omissions and strict quote formatting need different repairs.

The date rule catches these observed past dates; it does not establish support for a plausible invented future date. That boundary remains unverified. Likewise, matching outputs can both be wrong. The evidence supports keeping review and clarification before a connector, not autonomous scheduling.

Inspect development scope and reproduce the saved experiment

Six clean clips use macOS Samantha/Thomas voices, three per language, at 170 words/minute, converted to mono 16kHz PCM16. Whisper.cpp’s pinned v1.9.6 release reports 1.9.6-dev in the built CLI. CPU decoding uses known-language transcription without a supplied prompt or reference text. Twenty actual text-only Qwen3-VL 4B calls use Ollama 0.40.18 and one fixed prompt.

The past-date policy was added after the reference calls; unchanged candidates were explicitly reprocessed. Original service/results and current policy provenance remain saved. This is a service change, not new model understanding. Audio locators identify turns; field quotes bind text, without verified field-to-audio alignment.

Download the experiment, synthetic clips and raw records. Inside the extracted lab:

python3 verify_recording.py
python3 smoke.py

From the portfolio root, npm run prepare:younea checks and packages records without a model call. Fresh speech/NLU execution needs the separately specified local tools and weights.

These are reused development examples, not a held-out estimate of real-call accuracy or time saved. A proposed operational trial would need representative audio and independent review of the actual customer task. This prototype establishes only what its saved speech recognition, model calls and typed processing produced.