Add User intents to Puschlav

This commit is contained in:
Nadine Ganz 2025-07-29 15:34:09 +02:00
parent 8d3777ead0
commit 49814d1df4
3 changed files with 724 additions and 683775 deletions

View File

@ -59,8 +59,8 @@ Tree("40_Puschlav_Story_C_Puschlav") {
}
}
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-1-9099_bahnhof-U-1a")
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-1-9099_bahnhof-U-2")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -76,11 +76,11 @@ Tree("40_Puschlav_Story_C_Puschlav") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-1-9099_bahnhof-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-1-9099_bahnhof-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -122,11 +122,11 @@ Tree("40_Puschlav_Story_C_Puschlav") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-1-9099_bahnhof-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-1-9099_bahnhof-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -175,9 +175,9 @@ Tree("40_Puschlav_Story_C_Puschlav") {
}
}
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.5") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-2-9119_schild-U-1a")
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-2-9119_schild-U-1b")
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-2-9119_schild-U-2c")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -193,17 +193,17 @@ Tree("40_Puschlav_Story_C_Puschlav") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-2-9119_schild-U-1a")
BTC.ClearPossbileSpeechIntents()
RunTree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten")
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-2-9119_schild-U-1b")
BTC.ClearPossbileSpeechIntents()
RunTree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem")
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.5")
BTC.CompareIntentID("Story_C_Puschlav-2-9119_schild-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -246,17 +246,17 @@ Tree("40_Puschlav_Story_C_Puschlav") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-2-9119_schild-U-1a")
BTC.ClearPossbileSpeechIntents()
RunTree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten")
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-2-9119_schild-U-1b")
BTC.ClearPossbileSpeechIntents()
RunTree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem")
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.5")
BTC.CompareIntentID("Story_C_Puschlav-2-9119_schild-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -319,8 +319,8 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
}
}
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-3a-8927_trichter1-U-1a")
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-3a-8927_trichter1-U-2c")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -336,11 +336,11 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-3a-8927_trichter1-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-3a-8927_trichter1-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -382,11 +382,11 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-3a-8927_trichter1-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-3a-8927_trichter1-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -433,8 +433,8 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
}
}
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-4a-8975_trichter2-U-1a")
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-4a-8975_trichter2-U-2c")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -450,11 +450,11 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-4a-8975_trichter2-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-4a-8975_trichter2-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -496,11 +496,11 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-4a-8975_trichter2-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-4a-8975_trichter2-U-2c")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -541,8 +541,8 @@ Tree("40_Puschlav_Story_C_Puschlav_3A_Gletschergarten") {
BTC.Wait(4)
BTC.Run("AudioSource.AUDIO.5a9003voice1")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-5a-9003_valposchiavo-U-1a")
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-5a-9003_valposchiavo-U-2")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -629,8 +629,8 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
}
}
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-3b-8595_alpenrosen-U-1a")
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-3b-8595_alpenrosen-U-2")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -646,11 +646,11 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-3b-8595_alpenrosen-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-3b-8595_alpenrosen-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -692,11 +692,11 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-3b-8595_alpenrosen-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-3b-8595_alpenrosen-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -743,8 +743,8 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
}
}
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-4b-8623_schafe-U-1a")
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-4b-8623_schafe-U-2")
BTC.StartSpeechIntentRecognition()
Composite(Race) {
@ -760,11 +760,11 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-4b-8623_schafe-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-4b-8623_schafe-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -806,11 +806,11 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
// Intent erkannt
Composite(Race) {
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.3")
BTC.CompareIntentID("Story_C_Puschlav-4b-8623_schafe-U-1a")
BTC.ClearPossbileSpeechIntents()
}
Composite(Sequence) {
BTC.CompareIntentID("Story_B_Grotto.Intro.4")
BTC.CompareIntentID("Story_C_Puschlav-4b-8623_schafe-U-2")
BTC.ClearPossbileSpeechIntents()
// TODO: Jump point definieren
Composite(Marathon) {
@ -852,8 +852,7 @@ Tree("40_Puschlav_Story_C_Puschlav_3B_Alpgruem") {
BTC.Wait(4)
BTC.Run("AudioSource.AUDIO.5b8511voice1")
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.3") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_B_Grotto.Intro.4") // TODO: Update Speech Intent
BTC.AddPossbileSpeechIntent("Story_C_Puschlav-5b-8511_alp_gruem-U-1a")
BTC.StartSpeechIntentRecognition()
Composite(Race) {

File diff suppressed because it is too large Load Diff

View File

@ -499,6 +499,166 @@
"intentSentences": [
"S\u00ec."
]
},
{
"intentID": "Story_C_Puschlav-1-9099_bahnhof-U-1a",
"intentSentences": [
"Andiamo.",
"S\u00ec.",
"Voglio continuare.",
"Avanti.",
"Proseguiamo."
]
},
{
"intentID": "Story_C_Puschlav-1-9099_bahnhof-U-2",
"intentSentences": [
"Indietro.",
"No.",
"Voglio ritornare.",
"Basta.",
"Ho finito."
]
},
{
"intentID": "Story_C_Puschlav-2-9119_schild-U-1a",
"intentSentences": [
"Voglio il giardino dei ghiacciai.",
"Andiamo.",
"Andiamo al giardino.",
"Preferisco dei ghiacciai.",
"Il ghiacciaio."
]
},
{
"intentID": "Story_C_Puschlav-2-9119_schild-U-1b",
"intentSentences": [
"Voglio Alp Gr\u00fcm.",
"Saliamo.",
"Voglio salire verso Alp Gr\u00fcm.",
"Preferisco l'alpe.",
"L'alpeggio."
]
},
{
"intentID": "Story_C_Puschlav-2-9119_schild-U-2c",
"intentSentences": [
"No.",
"Indietro.",
"Voglio ritornare.",
"Basta.",
"Ho finito."
]
},
{
"intentID": "Story_C_Puschlav-3a-8927_trichter1-U-1a",
"intentSentences": [
"Andiamo.",
"S\u00ec.",
"Voglio continuare.",
"Avanti.",
"Proseguiamo."
]
},
{
"intentID": "Story_C_Puschlav-3a-8927_trichter1-U-2c",
"intentSentences": [
"No.",
"Indietro.",
"Voglio ritornare.",
"Basta.",
"Ho finito."
]
},
{
"intentID": "Story_C_Puschlav-4a-8975_trichter2-U-1a",
"intentSentences": [
"Andiamo.",
"S\u00ec",
"Voglio continuare.",
"Avanti.",
"Proseguiamo."
]
},
{
"intentID": "Story_C_Puschlav-4a-8975_trichter2-U-2c",
"intentSentences": [
"No.",
"Indietro.",
"Voglio ritornare.",
"Basta.",
"Ho finito."
]
},
{
"intentID": "Story_C_Puschlav-5a-9003_valposchiavo-U-1a",
"intentSentences": [
"Andiamo.",
"S\u00ec.",
"Voglio continuare.",
"Avanti.",
"Proseguiamo."
]
},
{
"intentID": "Story_C_Puschlav-5a-9003_valposchiavo-U-2",
"intentSentences": [
"No.",
"Indietro.",
"Voglio ritornare.",
"Basta.",
"Ho finito."
]
},
{
"intentID": "Story_C_Puschlav-3b-8595_alpenrosen-U-1a",
"intentSentences": [
"Andiamo.",
"S\u00ec.",
"Voglio continuare.",
"Avanti.",
"Proseguiamo."
]
},
{
"intentID": "Story_C_Puschlav-3b-8595_alpenrosen-U-2",
"intentSentences": [
"No. ",
"Indietro.",
"Voglio ritornare.",
"Basta.",
"Ho finito."
]
},
{
"intentID": "Story_C_Puschlav-4b-8623_schafe-U-1a",
"intentSentences": [
"Andiamo.",
"S\u00ec.",
"Voglio continuare.",
"Avanti.",
"Proseguiamo."
]
},
{
"intentID": "Story_C_Puschlav-4b-8623_schafe-U-2",
"intentSentences": [
"No.",
"Indietro.",
"Voglio ritornare.",
"Basta.",
"Ho finito."
]
},
{
"intentID": "Story_C_Puschlav-5b-8511_alp_gruem-U-1a",
"intentSentences": [
"Indietro.",
"Voglio ritornare.",
"Basta.",
"Ho finito.",
"Grazie, Francesca."
]
}
]
}