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

KeyDatatypeRequiredDescription
querystring(Required) A (partial) query from the user. The endpoint will return if it matches topics it can talk about.
numbernumberThe 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":[]}