I am trying to add knowledgebase to me Rasa X server deployment.
While it is working fine on my local system, but I am unable to get any response from action server on RASA X Server.
my knowledgebase (data.json) is present in /etc/rasa/actions directory
another function in same action server is responding fine.
You’re directory listing looks like it is from the host, not from inside the container.
Open a shell into your app container and I suspect you will find that the file is not in /etc/rasa/actions.
docker exec -ti <app container name> /bin/bash
Normally, your host directory would look like this. In your case, I would create an actions directory in the root of your project and put the knowledge_base_data.json file in that directory.
Then typical docker-compose.yml would map your root directory to /app in the container. Your file would then be accessible to the python action code at /app/actions/knowledge_base_data.json.
I also realised that the container rasa_app_1 is constantly restarting. I cant seem to understand why. I followed all the steps as per the masterclass.