wit
wit copied to clipboard
How can I use properly the Dynamic Entities parameter in /message endpoint?
In WIT documentation, there is an example of how to send a parameter entities in the GET /message endpoint
https://wit.ai/docs/http/20210928/#get__message_link
However, when I have tried to implement my own dynamic entites the response of the API is the same.
Here the generic example
$ curl -XGET 'https://api.wit.ai/message?v=20210928&q=how%20many%20people%20between%20Tuesday%20and%20Friday' \
-H 'Authorization: Bearer $TOKEN'
API Response
{
"color": [
{
"keyword": "purple",
"synonyms": ["violet", "magenta"]
},
{
"keyword": "blue",
"synonyms": ["aqua blue", "marine blue"]
}
]
}
How this feature could be used or what is the context to have a different response?