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

Explanation about user acts #46

Closed
yobekiko opened this issue May 8, 2020 · 1 comment
Closed

Explanation about user acts #46

yobekiko opened this issue May 8, 2020 · 1 comment

Comments

@yobekiko
Copy link

yobekiko commented May 8, 2020

Please update the README. The REQUEST act for user may also have optional values, just like the system REQUEST. Here is an example in dev/dialogues_018.json:

{
        "frames": [
          {
            "actions": [
              {
                "act": "REQUEST",
                "canonical_values": [
                  "2016"
                ],
                "slot": "year",
                "values": [
                  "2016"
                ]
              },
              {
                "act": "REQUEST",
                "canonical_values": [],
                "slot": "genre",
                "values": []
              }
            ],
            "service": "Music_1",
            "slots": [],
            "state": {
              "active_intent": "LookupSong",
              "requested_slots": [
                "genre",
                "year"
              ],
              "slot_values": {}
            }
          }
        ],
        "speaker": "USER",
        "utterance": "What genre is it and was it released three years back?"
      }
@abhirast
Copy link
Collaborator

Thank you for pointing this out. In the cases when REQUEST act has a value, the user asks the system if the slot has that value.

REQUEST(cuisine) -> What type of food does the restaurant serve?
REQUEST(cuisine=indian) -> Does the restaurant serve indian food?

We have updated the documentation accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants