Hi,
I’ve been trying to set up my own NLG server to create my custom bot responses and for that I referred to the example nlg server python file provided here - rasa/nlg_server.py at main · RasaHQ/rasa · GitHub
But, now when I run this file to start the nlg server, it’s giving me this- raise InvalidDomain(
rasa.shared.core.domain.InvalidDomain: No domain file was specified. Please specify a path to a valid domain file
@stephens could you kindly help me out with this?
Hi @aaron2014 could you let me know why rasa/nlg_server.py at main · RasaHQ/rasa · GitHub is not helpful for me. This seems to create a flask api. But, now when I run my nlg server file (referring to the attached github link) to start the nlg server, it’s giving me this- raise InvalidDomain( rasa.shared.core.domain.InvalidDomain: No domain file was specified. Please specify a path to a valid domain file.
I’m attaching my nlg server file FYR.
nlg_server.py (2.5 KB)
Also, my endpoints.yml file has the following -
nlg:
url: http://localhost:5056/nlg
My bad, I’ve solved the issue.
Instead of running just python nlg_server.py I had to run → python nlg_server.py --domain domain.yml