Skip to content

Commit

Permalink
Fix json
Browse files Browse the repository at this point in the history
  • Loading branch information
David Germiquet committed Mar 8, 2024
1 parent 32bbf0b commit e63a730
Showing 1 changed file with 275 additions and 24 deletions.
299 changes: 275 additions & 24 deletions interaction_models/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"play my library",
"play songs from my library",
"shuffle my library",
"shuffle my music",
"play my playlist"
"shuffle my music"
]
},
{
Expand Down Expand Up @@ -139,19 +138,38 @@
]
},
{
"name": "AskSonicPlayPlayListIntent",
"name": "AskSonicPlayAlbumIntent",
"slots": [
{
"name": "playlist",
"name": "album",
"type": "AMAZON.MusicAlbum",
"samples": [
"{playlist}"
"{album}"
]
},
{
"name": "artist",
"type": "AMAZON.MusicGroup"
}
],
"samples": [
"play album {album} by {artist}",
"play album {album}",
"play the album {album} by {artist}",
"play the album {album}",
"play the {artist} album {album}"
]
},
{
"name": "AskSonicPlayPlayListIntent",
"slots": [
{
"name": "playlist",
"type": "AMAZON.MusicAlbum"
}
],
"samples": [
"open the playlist {playlist}",
"play the playlist {playlist}"
"Play the playlist {playlist}"
]
}
],
Expand Down Expand Up @@ -187,18 +205,25 @@
]
},
{
"name": "AskSonicPlayPlayListIntent",
"name": "AskSonicPlayAlbumIntent",
"confirmationRequired": false,
"prompts": {},
"slots": [
{
"name": "playlist",
"name": "album",
"type": "AMAZON.MusicAlbum",
"confirmationRequired": false,
"elicitationRequired": true,
"prompts": {
"elicitation": "Elicit.Slot.816060946300.1349749939239"
"elicitation": "Elicit.Intent-AskSonic.IntentSlot-Album"
}
},
{
"name": "artist",
"type": "AMAZON.MusicGroup",
"confirmationRequired": false,
"elicitationRequired": false,
"prompts": {}
}
]
}
Expand All @@ -223,31 +248,257 @@
"value": "What album should I play?"
}
]
},
{
"id": "Confirm.Intent.1406286725120",
"variations": [
{
"type": "PlainText",
"value": "What playlist do you want?"
}
]
},
}
]
}
}{
"interactionModel": {
"languageModel": {
"invocationName": "sub sonic",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "AskSonicShuffleLibraryIntent",
"slots": [],
"samples": [
"play music",
"play my library",
"play songs from my library",
"shuffle my library",
"shuffle my music"
]
},
{
"name": "AMAZON.NavigateHomeIntent",
"samples": []
},
{
"name": "AMAZON.PauseIntent",
"samples": []
},
{
"name": "AMAZON.ResumeIntent",
"samples": []
},
{
"name": "AMAZON.NextIntent",
"samples": []
},
{
"name": "AMAZON.PreviousIntent",
"samples": []
},
{
"name": "AMAZON.StartOverIntent",
"samples": []
},
{
"name": "AskSonicTrackInformationIntent",
"slots": [],
"samples": [
"what is currently playing",
"what is playing right now",
"what is the current song",
"what is the name of this song",
"what is this",
"what song is playing",
"what song is this",
"what song",
"what's playing",
"what's this song",
"who is this by",
"who sings this"
]
},
{
"name": "AskSonicDetailedTrackInformationIntent",
"slots": [],
"samples": [
"details about this song",
"what album is this song from",
"what album"
]
},
{
"name": "AskSonicStarIntent",
"slots": [],
"samples": [
"favorite this song",
"heart this song",
"like this song",
"love this song",
"star this song",
"star this"
]
},
{
"name": "AskSonicStarPreviousIntent",
"slots": [],
"samples": [
"favorite the last song",
"heart the last song",
"like the last song",
"love the last song",
"star the last song",
"star the previous song"
]
},
{
"name": "AskSonicPlayArtistIntent",
"slots": [
{
"name": "artist",
"type": "AMAZON.MusicGroup",
"samples": [
"{artist}"
]
}
],
"samples": [
"play artist {artist}",
"play music by {artist}",
"play songs by {artist}",
"play the artist {artist}"
]
},
{
"name": "AskSonicListArtistAlbumsIntent",
"slots": [
{
"name": "artist",
"type": "AMAZON.MusicGroup",
"samples": [
"{artist}"
]
}
],
"samples": [
"tell me albums by {artist}",
"list albums by {artist}",
"list {artist} albums",
"what albums does {artist} have"
]
},
{
"name": "AskSonicPlayAlbumIntent",
"slots": [
{
"name": "album",
"type": "AMAZON.MusicAlbum",
"samples": [
"{album}"
]
},
{
"name": "artist",
"type": "AMAZON.MusicGroup"
}
],
"samples": [
"play album {album} by {artist}",
"play album {album}",
"play the album {album} by {artist}",
"play the album {album}",
"play the {artist} album {album}"
]
},
{
"name": "AskSonicPlayPlayListIntent",
"slots": [
{
"name": "playlist",
"type": "AMAZON.MusicAlbum"
}
],
"samples": [
"Play the playlist {playlist}"
]
}
],
"types": [
{
"name": "AMAZON.MusicAlbum",
"values": [
{
"name": {
"value": "Yellowcard"
}
}
]
}
]
},
"dialog": {
"intents": [
{
"name": "AskSonicPlayArtistIntent",
"confirmationRequired": false,
"prompts": {},
"slots": [
{
"name": "artist",
"type": "AMAZON.MusicGroup",
"confirmationRequired": false,
"elicitationRequired": true,
"prompts": {
"elicitation": "Elicit.Intent-AskSonic.IntentSlot-Artist"
}
}
]
},
{
"name": "AskSonicPlayAlbumIntent",
"confirmationRequired": false,
"prompts": {},
"slots": [
{
"name": "album",
"type": "AMAZON.MusicAlbum",
"confirmationRequired": false,
"elicitationRequired": true,
"prompts": {
"elicitation": "Elicit.Intent-AskSonic.IntentSlot-Album"
}
},
{
"name": "artist",
"type": "AMAZON.MusicGroup",
"confirmationRequired": false,
"elicitationRequired": false,
"prompts": {}
}
]
}
],
"delegationStrategy": "ALWAYS"
},
"prompts": [
{
"id": "Elicit.Slot.490590561974.1634588788595",
"id": "Elicit.Intent-AskSonic.IntentSlot-Artist",
"variations": [
{
"type": "PlainText",
"value": "what is the playlist you want?"
"value": "What artist should I play?"
}
]
},
{
"id": "Elicit.Slot.816060946300.1349749939239",
"id": "Elicit.Intent-AskSonic.IntentSlot-Album",
"variations": [
{
"type": "PlainText",
"value": "what is the playlist?"
"value": "What album should I play?"
}
]
}
Expand Down

0 comments on commit e63a730

Please sign in to comment.