Can a python script run on wordpress and can i create a plugin that uses that ?
I have to make a custom chatbot . I have the code that works perfect however there are some issues that i have in front of me.
Firstly the main one , wordpress being full php can i run some python code somehow and also some javascript for the aspect of the chatbot ?
Also the other issue that i have is that i am using a pretraied model from Vertex AI in google cloud , and if i want to call this API i have to open a cmd and login with my google account with this commands :
pip install –upgrade google-cloud-aiplatform
gcloud auth application-default login
By doing this i get a window in my browser where i have to login .
I havent really found a specific guide or tutorial yet and wondered if anyone encountered this before while making a wordpress plugin .
I already made a version that works locally with flask .
Is this even possible to do ? My hosting provider gives me C-Panel , maybe there is a way through there ?
user24985751 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.