You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I look through your code in RasaTalk/server/mongo/controllers/training.js
In the train() function you are using wrong url so instead of ${process.env.RASASERVER}/train?project
it should be ${process.env.RASASERVER}/model/train?project
Furthermore if we look though documentation of Api https://rasa.com/docs/rasa/1.2.9/api/http-api/#tag/Model
Request:
it need config key required but we are not adding any in the code
it need nlu in the mark down format but you are just sending model.data which is plain json
it also expects stories in markdown and domain in text format
Response for 200:
It returns zipped file but in your code of success of api call you are spiting the data but the response is zip that throws error
Either am i totally wrong here or are we using an old api of rasa ? Please let me know
The text was updated successfully, but these errors were encountered:
I look through your code in RasaTalk/server/mongo/controllers/training.js
In the train() function you are using wrong url so instead of
${process.env.RASASERVER}/train?project
it should be
${process.env.RASASERVER}/model/train?project
Furthermore if we look though documentation of Api
https://rasa.com/docs/rasa/1.2.9/api/http-api/#tag/Model
Request:
it need config key required but we are not adding any in the code
it need nlu in the mark down format but you are just sending model.data which is plain json
it also expects stories in markdown and domain in text format
Response for 200:
It returns zipped file but in your code of success of api call you are spiting the data but the response is zip that throws error
Either am i totally wrong here or are we using an old api of rasa ? Please let me know
The text was updated successfully, but these errors were encountered: