因为是部署在docker中,无法直接通过 rasa shell等方式进行使用,本文中采用API
接口调用的方式进行
curl --location 'http://localhost:5005/webhooks/rest/webhook' \
--header 'Content-Type: application/json' \
--data '{
"message": "中午好",
"sender": "user1"
}'
因为是部署在docker中,无法直接通过 rasa shell等方式进行使用,本文中采用API
接口调用的方式进行
curl --location 'http://localhost:5005/webhooks/rest/webhook' \
--header 'Content-Type: application/json' \
--data '{
"message": "中午好",
"sender": "user1"
}'