Since updating to v3 I have noticed few things.
First is even tough askProfile is mentioned in the project.js, while running jovo build --deploy it does not consider it. Need to supply it using --ask-profile argument.
Second is I have provided a askProfile which is aws initialised as well, but still the code is not getting uploaded to lambda.
Third is I am getting some error for google when deploying.
Here is my profile.js file :
module.exports = {
alexaSkill: {
nlu: 'alexa',
skillId: '**********',
askProfile: '**********',
manifest: {
publishingInformation: {
locales: {
"en-IN": {
name: "**********"
}
}
}
}
},
googleAction: {
nlu: 'dialogflow',
dialogflow: {
projectId: '**********',
keyFile: './keys/**********.json'
},
},
languageModel: {
'en-IN': {
invocation: '**********',
}
},
endpoint: '${JOVO_WEBHOOK_URL}',
stages: {
dev: {
alexaSkill: {
nlu: 'alexa',
skillId: '**********',
askProfile: 'askprofile1',
manifest: {
apis: {
custom: {
interfaces: [
{
type: 'ALEXA_PRESENTATION_APL',
},
],
},
},
publishingInformation: {
locales: {
"en-IN": {
name: "**********"
}
}
}
},
},
endpoint: 'arn:aws:lambda:us-east-**********',
googleAction: {
nlu: 'dialogflow',
dialogflow: {
endpoint: '**********',
projectId: '**********',
keyFile: './keys/**********.json'
},
},
languageModel: {
'en-IN': {
invocation: '**********',
}
},
}
},
};
When I run :
jovo build --deploy --stage dev --ask-profile askprofile1
This is the output of it :
jovo build: Create and update platform specific files in /platforms folder
>> Learn more: https://jovo.tech/docs/cli/build
✔ Initializing build process...
✔ Collecting platform configuration from project.js.
Platforms: alexaSkill, googleAction
✔ Collecting Jovo language model files from ./models folder.
Locales: en-IN
✔ Validating model files.
✔ en-IN
✔ Updating Alexa Skill project files (stage: dev)
Path: ./platforms/alexaSkill
✔ Updating Skill Manifest
Path: ./platforms/alexaSkill/skill.json
✔ Updating Alexa Interaction Model
Path: ./platforms/alexaSkill/models
✔ en-IN
✔ Updating Google Action project files (stage: dev)
Path: ./platforms/googleAction
✔ Updating Dialogflow Agent
Path: ./platforms/googleAction/dialogflow
✔ agent.json
✔ package.json
✔ Updating Language Model
Path: ./platforms/googleAction/dialogflow/intents, ./platforms/googleAction/dialogflow/entities
✔ en-IN
❯ Deploying project...
✔ Deploying Alexa Skill (stage: dev)
↓ Updating Alexa Skill project for ASK profile Envision-new [skipped]
→ Endpoint: ********
✔ Deploying Interaction Model, waiting for build
✔ en-IN
❯ Deploying Google Action (stage: dev) ********
↓ Creating file /googleAction/dialogflow_agent.zip [skipped]
→ Fulfillment Endpoint: ********
✖ Uploading and restoring agent for project ********
→ com.google.apps.framework.request.BadRequestException: Validate entity failed because of the following reasons: '' is not a valid entity type ID. Must be a UUID.
Training started
› Error: There was a problem:
› Error: com.google.apps.framework.request.BadRequestException: Validate entity failed because of the following reasons: '' is not a valid entity type ID. Must be a UUID.
The first issue is not that important, but second and third seems like some kind of bug to me or am I doing something wrong?