AI & XML / LLM test suite / Results / Test cases / SsmlProsodyDemo
Test case description
This test checks whether a model can generate a valid SSML document with varied prosodic instructions. It requires several voice elements, prosody with different attributes, pauses, emphasis and an audio element. Both syntactic correctness and meaningful use of SSML features are evaluated.
Source file | SsmlProsodyDemo.txt |
|---|---|
Series | 1 |
Categories | xml, ssml |
Evaluation | LLM judge |
Prompt SHA-256 | 14f0d8c47ee3baf76aa669e49b9a07bdb167c84fe39c417a9bd6eede16c8719d |
LLM judge: The answer is evaluated with LLM support. A judge model compares the model’s answer with the domain expectation and decides whether its content meets it.
Expected result
Valid SSML document with several voices, varied prosody, pauses, emphasis and audio.
Expectation in the catalog | No |
|---|---|
Correct result in the catalog | Yes |
Judge instruction
Check SSML well-formedness, root attributes, valid prosody values and meaningful use of the required speech control elements.
Must be satisfied
The output is well-formed XML with no explanatory prose outside the XML.
The root element speak uses the namespace http://www.w3.org/2001/10/synthesis.
speak contains an appropriate SSML version, preferably version='1.1', and xml:lang.
At least two voice elements are present.
Several prosody elements use different valid combinations of rate, pitch and volume.
At least one break with a valid time or strength value and at least one emphasis with a valid level are present.
An audio element has a valid src URI and meaningful fallback text.
Error criteria
The SSML namespace or speak root is missing.
Prosody attributes or values are clearly not SSML compliant.
voice, break, emphasis or audio is missing.
audio has no fallback text or source.
Prompt
Erstelle unter content ein ausführliches SSML Dokument.
Erforderliche Eigenschaften
Root Element speak im SSML Namensraum
mindestens ein voice Element
mehrere prosody Elemente mit Kombinationen aus rate, pitch und volume
mehrere break Elemente mit unterschiedlichen Dauerangaben
mehrere emphasis Elemente
ein audio Element mit src Attribut oder eingebettetem Inhalt
Der Text soll deutlich verschiedene prosodische Anweisungen demonstrieren
zum Beispiel langsame Einleitung, schnelle Passage, leise und laute Teile
sowie betonte Schlüsselbegriffe.
Nutze den SSML Namensraum
http://www.w3.org/2001/10/synthesis
Gib ausschließlich das SSML Dokument zurück.
# content707 Runs 693 evaluated 21.3 % Score 0.9 % exactly correct
Help on evaluation, score and exact correctness
Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.
Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.
Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.
Model Category Access route