How can I invoke an intent which has no Sample Utterance but two must-fill slots


#1

Hi Jan,
I have posted the question here. Please can you suggest me how I can achieve this?

Regards,
Subrata Sarkar


#2

Seems like you don’t have a sample utterance for this intent in your Jovo model. How does the intent look like in your model?


#3

Hi Jan,
Here is the model:

{
    "interactionModel": {
        "languageModel": {
            "invocationName": "emfluence agency",
            "modelConfiguration": {
                "fallbackIntentSensitivity": {
                    "level": "LOW"
                }
            },
            "intents": [
                {
                    "name": "AMAZON.FallbackIntent",
                    "samples": []
                },
                {
                    "name": "AMAZON.CancelIntent",
                    "samples": []
                },
                {
                    "name": "AMAZON.HelpIntent",
                    "samples": []
                },
                {
                    "name": "AMAZON.StopIntent",
                    "samples": []
                },
                {
                    "name": "AMAZON.NavigateHomeIntent",
                    "samples": []
                },
                {
                    "name": "NotesBuilderIntent",
                    "slots": [
                        {
                            "name": "note",
                            "type": "AMAZON.Person"
                        }
                    ],
                    "samples": [
                        "{note}"
                    ]
                },
                {
                    "name": "LinkAccountIntent",
                    "slots": [],
                    "samples": [
                        "link account"
                    ]
                },
                {
                    "name": "AccountValidatorIntent",
                    "slots": [
                        {
                            "name": "para_phrase",
                            "type": "AMAZON.Person",
                            "samples": [
                                "{para_phrase}"
                            ]
                        },
                        {
                            "name": "account_code",
                            "type": "AMAZON.Person",
                            "samples": [
                                "{account_code}"
                            ]
                        }
                    ],
                    "samples": [
                        "my account code is {account_code}",
                        "the code is {account_code}",
                        "it is {account_code}",
                        "{account_code} is my account code"
                    ]
                }
            ],
            "types": []
        },
        "dialog": {
            "intents": [
                {
                    "name": "AccountValidatorIntent",
                    "confirmationRequired": false,
                    "prompts": {},
                    "slots": [
                        {
                            "name": "para_phrase",
                            "type": "AMAZON.Person",
                            "confirmationRequired": false,
                            "elicitationRequired": true,
                            "prompts": {
                                "elicitation": "Elicit.Slot.270968470554.1485027475557"
                            }
                        },
                        {
                            "name": "account_code",
                            "type": "AMAZON.Person",
                            "confirmationRequired": false,
                            "elicitationRequired": true,
                            "prompts": {
                                "elicitation": "Elicit.Slot.270968470554.1486602558746"
                            }
                        }
                    ]
                }
            ],
            "delegationStrategy": "ALWAYS"
        },
        "prompts": [
            {
                "id": "Elicit.Slot.270968470554.1485027475557",
                "variations": [
                    {
                        "type": "PlainText",
                        "value": "tell me your paraphrase please."
                    },
                    {
                        "type": "PlainText",
                        "value": "what's your paraphrase?"
                    },
                    {
                        "type": "PlainText",
                        "value": "tell me the paraphrase. if you do not remember it, please refer to your email for the same."
                    }
                ]
            },
            {
                "id": "Elicit.Slot.270968470554.1486602558746",
                "variations": [
                    {
                        "type": "PlainText",
                        "value": "please check your email and tell me the account code."
                    },
                    {
                        "type": "PlainText",
                        "value": "what's your account code?"
                    },
                    {
                        "type": "PlainText",
                        "value": "please spell out your account code"
                    }
                ]
            }
        ]
    }
}