I built a very simple Chatbot in my Capstone project and was wondering if anyone could provide instructions for me to get it on my website? For the sake of this question, the chatbot code is all set, but understanding how to present it to the public is where I’m falling short.
Any help is appreciated and thank you for taking the time to provide any resources possible! Happy Coding!
You would need to run a PHP command on your website that would run the Python file if you are using Python.
Something like this:
$command = escapeshellcmd('/usr/custom/test.py');
$output = shell_exec($command);
Hope this helps! Ask me if you have any questions!
Also, did you code your website? Or did you use something like Weebly or Wix to make it? You would also have to download PHP to make this work.