Rasa Endpoint to updates yml file

Hi, I want some API endpoints where i can update all my yml file with new intent and stories without doing any manual updates. So that anybody can train my chatbot with his intent and stories. I tried with following way but i am not sure whether it is the right way to do

http://localhost:5005/model/train error: { “version”: “2.5.0”, “status”: “failure”, “message”: “An unexpected error occurred during training. Error: Failed to validate YAML. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation:\n in Line 1:\n Value ‘b’supervised_embeddings’’ is not a list. Value path: ‘/pipeline’”, “reason”: “TrainingError”, “details”: {}, “help”: null, “code”: 500 }

From looking at your error it seems to be a yml formatting problem. Using a linter might help? GitHub - adrienverge/yamllint: A linter for YAML files.

On another note, I’d personally be pretty cautious about letting people push training data to an assistant without some sort of verification or human checks. There’s at least one well-known instance of that going really badly: Twitter taught Microsoft’s AI chatbot to be a racist asshole in less than a day - The Verge