I had this problem as well. It seems like a problem with Intent Insights and your server not having enough RAM/CPU. To disable it, add the following to the ~/.bashrc
file:
alias api_token_json="curl -X POST -H \"Content-Type: application/json\" -d '{\"username\":\"me\", \"password\":\"IP@eco@2021\"}' http://10.126.15.10/api/auth"
alias api_token_value="api_token_json | python3 -c 'import json,sys;obj=json.load(sys.stdin);print(obj[\"access_token\"])'"
disable-insights()
{
TOKEN=$(api_token_value) \
curl --request PUT \
--url 'localhost/api/insights/config' \
--header "Authorization: Bearer "$1 \
--header 'Content-Type: application/json' \
--data '{"schedule": null, "cross_validation_folds": 4, "calculator_configuration": null}'
}
On the first line, replace IP@eco@2021
with your Rasa X password and 10.126.15.10
with the server’s IP.
Then, delete your namespace with kubectl delete namespaces rasa
.
Open a new terminal, and do api_token_value
. Then copy the output, and write disable-insights
, paste the token, then enter.
Related thread: Disable intent insights: REGULAR SERVER CRASH