I followed the “Train a rasa model” documentation here and added the call_backurl parameter to the parameters. But after the training is complete I still don’t see the results sent to call_backurl.
After the model training is finished and the model is saved to the app/models directory. I checked to see if there was a request sent to callback_url but nothing.
Hi @baphuc1998callback_url is a query parameter, so it doesn’t belong to the request body, instead use it in your request URL, for example: http://localhost:5005/model/train?callback_url=https://4ba3fbd13cbf.ngrok.io/api/webhooks. Let me know if this doesn’t work.
Hi @baphuc1998 Yes, it might be the case that the version you’re using doesn’t support query parameters, for example I checked the legacy docs for 1.x here and I couldn’t find any information on callback_url. According to the changelog, the callback_url parameter was introduced in version 2.2.0, please see entry listed here: #7408. We always recommend using the most up-to-date version that will contain both bugfixes and enhancements.
Thanks for your answer. I want to use the supervised_embeddings pipeline so I can’t upgrade. In version 2.x I seem to spend a lot of time on training without supervised_embeddings.
Hi @anca
I am using rasa 3.1 but call back URL only works when I run both the servers(webhook and rasa) on the same local machine but not if I run rasa server on a different machine. Do you know why?