question

Emmanu avatar image
Emmanu asked

Alexa Skill: Interaction model is not being updated during test

I am developing a Alexa Skill and I have an Intent named NewAppointmentIntent which originally had 7 slots. I have added a new Slot yesterday named Doctor and successfully built the Skill.

When I invoke that intent, it still have 7 Slots and not 8. The Doctor Slot does not appears in the request and responses outputs.

The Intent in images:

The output when invoking the Intent, where slot Doctor expected in slots attribute:

"request": {
		"type": "IntentRequest",
		"requestId": "amzn1.echo-api.request.9529849e-190d-4278-95a8-3702b3ee4d1c",
		"timestamp": "2018-12-12T10:05:14Z",
		"locale": "en-US",
		"intent": {
			"name": "NewAppointmentIntent",
			"confirmationStatus": "NONE",
			"slots": {
				"Status": {
					"name": "Status",
					"confirmationStatus": "NONE"
				},
				"Comment": {
					"name": "Comment",
					"confirmationStatus": "NONE"
				},
				"ReasonForVisit": {
					"name": "ReasonForVisit",
					"confirmationStatus": "NONE"
				},
				"Time": {
					"name": "Time",
					"confirmationStatus": "NONE"
				},
				"EmergencyType": {
					"name": "EmergencyType",
					"confirmationStatus": "NONE"
				},
				"PatientNumber": {
					"name": "PatientNumber",
					"confirmationStatus": "NONE"
				},
				"Day": {
					"name": "Day",
					"confirmationStatus": "NONE"
				}
			}
		},
		"dialogState": "STARTED"
	}

So I wish to know how to refresh the Skill?

intentstestingslotsinteraction modelutterances
2 comments
10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

After building model, have you tried to disble/enable the skill?

0 Likes 0 ·
Emmanu avatar image
Emmanu answered

The issue has been resolved(self). My interaction model is now up-to-date.

10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-825f3f5e-3b87-4703-999f-32461aa52a0e avatar image
newuser-825f3f5e-3b87-4703-999f-32461aa52a0e answered

i think you should check JSON file model update and built again.

NOTE: don't enable test during update model.

1 comment
10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

The `JSON File Model` is also up to date with that new slot `Doctor` as you can see here at the bottom:

{
                    "name": "NewAppointmentIntent",
                    "slots": [
                        {
                            "name": "Day",
                            "type": "AMAZON.DATE",
                            "samples": [
                                "{Day}",
                                "at {Day}",
                                "on {Day}"
                            ]
                        },
                        ...
                        {
                            "name": "Doctor",
                            "type": "AMAZON.NUMBER",
                            "samples": [
                                "the doctor {Doctor}",
                                "{Doctor}"
                            ]
                        }
                    ],
}  

After doing the build as you describe above, it's still not work during test.

0 Likes 0 ·
Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hi @Emmanu and thanks for your question.

Can you please share your skill ID so I can take a look at it?

Regards,
Barry

6 comments
10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@barry@amazon

The skill ID is: amzn1.ask.skill.9fce43b4-fcd4-40a5-ade6-4cd5ec64b7a9

0 Likes 0 ·

@barry@amazon Is there anything new about my Skill, please?

0 Likes 0 ·

Hi @Emmanu and sorry about my delayed reply.

I tried to test your skill, but I need to first link an account to it. Can you please provide credentials for me to test it?

If you'd rather not share this information in a public forum, you can also open a case using the form here. If you decide to do so, make sure to reference this thread. Once you have your case number, please add it to this thread so I can follow it up.

Regards,
Barry

0 Likes 0 ·
Emmanu avatar image Emmanu Amazon_Bernardo Bezerra ♦♦ ·

Hi @barry@amazon,

I have opened a case and provided the credentials for the account-linking.

The case number is: 5679726301

0 Likes 0 ·
Show more comments