Deus ex machina in Euripides' Medea, performed in 2009 in Syracuse, Italy; the sun god sends a golden chariot to rescue Medea.
Deus ex machina (/ˈdeɪəs ɛks ˈmækɪnə, ˈmɑːk-/ DAY-əs ex-MA(H)K-in-ə; Latin: [ˈdɛ.ʊs ɛks ˈmaːkʰɪnaː]; plural: dei ex machina; 'God from the machine') is a plot device, a type of denouement in which a seemingly unsolvable problem in a story is suddenly or abruptly resolved by an unexpected and unlikely occurrence. Its function is generally to resolve an otherwise irresolvable plot situation, to surprise the audience, to bring the tale to a happy ending, or act as a comedic device.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).