# Spanish-language line. The call is held in Spanish (`target.language`); # assertions can stay in English, they are judged on meaning. # Note: `test_data` requires the Growth plan or above. schema_version: 1 name: "Spanish line - order status" target: phone: "+14155550105" kind: ai_agent platform: livekit language: es-US persona: description: "Native Spanish speaker from Mexico, informal register, speaks only Spanish" accent: "Mexican Spanish" speaking_rate: 1.1 goal: "Find out when order 88231 will be delivered" test_data: order_number: "88231" zip_code: "90011" assertions: - id: stays-in-spanish type: llm_check question: "Did the agent answer in Spanish for the whole call, without switching to English?" - id: delivery-date type: must_include text: "give an expected delivery date" - type: must_not text: "ask the caller to call back in English" - type: max_latency_ms value: 2500 tags: ["spanish", "orders"] variants: - title: "Spanglish caller" persona: description: "Bilingual caller who mixes Spanish and English in the same sentence" accent: "US Hispanic"