samtecspg / articulate

A platform for building conversational interfaces with intelligent agents (chatbots)
http://spg.ai/projects/articulate/
Apache License 2.0
598 stars 160 forks source link

how to run rasa server with --enable-api parameter? #1094

Open Dewilas opened 4 years ago

Dewilas commented 4 years ago

Hello,

this /webhooks/rest/webhook REST endpoint not working. I want to get text/rich response from Rasa NLU server. For example:

curl -L -X POST 'http://localhost:5000/webhooks/rest/webhook' \
-H 'Content-Type: application/json' \
--data-raw '{ "sender": "Me", "message": "hello"}'
wrathagom commented 4 years ago

I am not sure I follow, port 5000 is the Rasa API, which has nothing to do with Articulate's webhooks.

Send your request to the port you've assigned to the Articulate API (usually 7500) and make sure the port is exposed in Docker as well.