Here is a sample from an Alexa language model:
{
"interactionModel": {
"languageModel": {
"invocationName": "my name",
"modelConfiguration": {
"fallbackIntentSensitivity": {
"level": "LOW"
}
},
"intents": [
{
"name": "AMAZON.HelpIntent",
"samples": [
"what can i do",
...
]
},
I want to be able to set the fallbackIntentSensitivity in project.js:
stages: {
local: {
endpoint: '${JOVO_WEBHOOK_URL}',
alexaSkill: {
skillId: process.env.LOCAL_SKILL_ID,
askProfile: process.env.LOCAL_ASK_PROFILE,
languageModel: {
en: {
invocation: process.env.LOCAL_INVOCATION_NAME,
modelConfiguration: {
fallbackIntentSensitivity: {
level: 'HIGH',
},
},
},
},
When I build the model, the modelConfiguration
section is not there. I think I need to do this in project.js (as opposed to in /models/en.json in an section: alexa\interactionModel\languageModel\modelConfiguration) because the section in project.js overrides the same section in en.json. Correct?