You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to snips-nlu and I got the following problem.
I want to create a chatbot that is able to fill missing slots if they are required.
As an example, I got an intent that is called tellJoke, which requires a topic to be set. If the intent "tellJoke" is detected, but the topic slot is empty, I want to be able to extract the topic out of any string the user types in afterwards.
Detecting the intent works great. It is also perfectly detecting slots if the initial queries contains them. However, I want to be able to handle missing information interactivley. If the user does not specify a topic, but just asks for a general joke, the bot asks about the topic that the user wants. For example:
{
"input": "i want to hear a joke",
"intent": {
"intentName": "tellJoke",
"probability": 0.79340987912516253
},
"slots": []
}
Now the chatbot could aks: "What should the joke be about" to start the slot filling.
The problem: The user now answers with a singe word string that describes the topic of the joke.
This single word might resemble a correct entity value like "knock knock" or "cat", however I am unable to parse it correctly with the parse_slot function.
The parse_slot function depends on the query parameter to resemble the correct intent so the slot can be parsed. How can I parse the "topic" entity out of strings that are a None intent or any other intent? The parse_slot function should be able to do that if the intent is manually defined.
The text was updated successfully, but these errors were encountered:
felixvor
changed the title
Parse_slot function should not depend on the input string to
Parse_slot function should not depend on the input string to be a specific intent
Aug 30, 2019
felixvor
changed the title
Parse_slot function should not depend on the input string to be a specific intent
Slot parsing for specified intents not possible for short entity strings
Aug 30, 2019
@DieseKartoffel
What you want to do in that case is create a specific elicitation intent (on top of the main intent) which would cover formulations used by the user to specify a missing slot.
This is discussed more thoroughly in #849 .
Let me know if you are still stuck.
Cheers
Hello,
I am new to snips-nlu and I got the following problem.
I want to create a chatbot that is able to fill missing slots if they are required.
As an example, I got an intent that is called tellJoke, which requires a topic to be set. If the intent "tellJoke" is detected, but the topic slot is empty, I want to be able to extract the topic out of any string the user types in afterwards.
Example Dataset:
Detecting the intent works great. It is also perfectly detecting slots if the initial queries contains them. However, I want to be able to handle missing information interactivley. If the user does not specify a topic, but just asks for a general joke, the bot asks about the topic that the user wants. For example:
Now the chatbot could aks: "What should the joke be about" to start the slot filling.
The problem: The user now answers with a singe word string that describes the topic of the joke.
This single word might resemble a correct entity value like "knock knock" or "cat", however I am unable to parse it correctly with the parse_slot function.
The parse_slot function depends on the query parameter to resemble the correct intent so the slot can be parsed. How can I parse the "topic" entity out of strings that are a None intent or any other intent? The parse_slot function should be able to do that if the intent is manually defined.
The text was updated successfully, but these errors were encountered: