Hi all. I have a slight problem with the knowledge base. I want to query solely the attributes of object types. For example: “Please give me the contact number for the IS helpdesk?”, Bot displays “Sorry I am not sure I understand, please rephrase?
A snippet of my data.json: { “helpdesk”: [ { “id”: 50, “name”: “IS”, “number”: 6087 } , { “id”: 51, “name”: “HR”, “number”: 6097 } ]
My training data:
- please give me the contact [number]{“entity”: “attribute”, “value”: “number”} for [IS] (helpdesk)
- whats the contact [number] (attribute) for [IS] (helpdesk) give me the [number] (attribute) for [IS] (helpdesk)
lookup:helpdesk
data/lookup_tables/helpdesk.txt
helpdesk.txt contains the word ‘IS’.
slots and entities both have helpdesk and number defined in them.
this example is pretty similar to the restaurant bot example documented by rasa. My question is similar to the following question in the restaurant bot “What is the [cuisine] (attribute) of [Berlin Burrito Company] (restaurant)?” the query is based on two attributes. however all cases of these 2 attribute questions do not work for me.
the below is a snippet of the correct slots being detected, however action query is unable to return back to me the contact number
could you please guide me on what I am doing wrong? Normal object type queries work fine. Questions with attributes and object types work fine too. Its just the double attribute questions that refuse to work.
thank you!