Hi,
I am confused by a piece of documentation and want to know:
(a) is this a mistake in the documentation and is my suggested correction appropriate? (b) if it is not a mistake can someone please clarify my confusion?
So, here is the specific issue:
If you go here: Rasa Open Source Documentation
You will see in the example to the right of the screen that this is an example of a the payload of request going from the DM to the NLU server:
{
- “text”: “Hello, I am Rasa!”,
- “message_id”: “b2831e73-1407-4ba0-a861-0f30a42a2a5a” }
Right below that (also on the right), under ‘Request Samples’ one sees an example of what the NLU should send back to the DM. In that json, the “text” field has this value: “Hello”.
If the input is “Hello, I am Rasa!” then the value of the text field should be exactly the same, i.e. “Hello, I am Rasa!”.
I thought that the request going from the DM to the NLU would be something the user says. E.g. “Hello”. Only a deranged or malicious user would say “Hello, I am Rasa”. Right?
In sum,
(a) the “text” in the post going from the DM to the NLU service must match the text in the Response Sample.
(b) the best way to fix this problem would be change “Hello, I am Rasa” in the request sample JSON to “Hello”.
Can someone confirm or deny that I am correct here? And if I am incorrect can you explain what I am misunderstanding?