Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting schema to alexa with slots #498

Open
piotr-dziubek opened this issue Sep 16, 2022 · 2 comments
Open

Exporting schema to alexa with slots #498

piotr-dziubek opened this issue Sep 16, 2022 · 2 comments

Comments

@piotr-dziubek
Copy link

piotr-dziubek commented Sep 16, 2022

Exporting schema to alexa dosent provide extra slots

To Reproduce
Create connection with alexa and then Import Intent slot matching example to your questions - and try to copy the schema from alexa.

{
  "interactionModel": {
    "languageModel": {
      "invocationName": "q and a",
      "types": [
        {
          "name": "EXAMPLE_QUESTIONS",
          "values": [
            {
              "name": {
                "value": "book a car"
              }
            },
            {
              "name": {
                "value": "reserver a car"
              }
            },
            {
              "name": {
                "value": "make a car reservation"
              }
            },
            {
              "name": {
                "value": "book a car for {PickUpDate}"
              }
            },
            {
              "name": {
                "value": "dummy utterance"
              }
            }
          ]
        }
      ],
      "intents": [
        {
          "slots": [
            {
              "name": "QnA_slot",
              "type": "EXAMPLE_QUESTIONS"
            }
          ],
          "name": "Qna_intent",
          "samples": [
            "{QnA_slot}"
          ]
        },
        {
          "name": "AMAZON.StopIntent"
        },
        {
          "name": "AMAZON.RepeatIntent"
        },
        {
          "name": "AMAZON.FallbackIntent"
        },
        {
          "name": "AMAZON.CancelIntent"
        }
      ]
    }
  }
}

and now when We try to ask alexa about that - it causes an error - it finds the question but it dont know what to do next

image

Expected behavior
Alexa should go with follow-up question - same as qnabot client

Version
QnaBot 5.2.0

@marcburnie marcburnie self-assigned this Jul 20, 2023
@marcburnie
Copy link
Member

Thanks for raising this issue and sorry for the delayed response. I've been able to reproduce this issue on the current release (v5.3.4). I'll let you know once we have a fix.

@marcburnie
Copy link
Member

Currently, the Alexa export feature only exports utterances and not slots; this functionality was never implemented. We are adding this to our backlog for next year.

@fhoueto-amz fhoueto-amz removed the bug label Oct 20, 2023
@marcburnie marcburnie removed their assignment Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants