Conversation Suggests
GET {{baseUrl}}/food/converse/suggest?query=tell&number=5
This endpoint returns suggestions for things the user can say or ask the chatbot.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
query | string | (Required) A (partial) query from the user. The endpoint will return if it matches topics it can talk about. | |
number | number | The number of suggestions to return (between 1 and 25). |
RESPONSES
status: OK
{"suggests":{"_":[{"name":"Tell me something funny"},{"name":"Tell me a food fact"},{"name":"Tell me a joke"},{"name":"Tell me food trivia"},{"name":"Tell me a fact about food"}]},"words":[]}