Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid model requested. Using default #101

Open
aaronysl opened this issue Mar 27, 2020 · 1 comment
Open

invalid model requested. Using default #101

aaronysl opened this issue Mar 27, 2020 · 1 comment

Comments

@aaronysl
Copy link

服务端显示
invalid model requested. Using default
但是返回的结果缺失找不到intent
localhost:rasa_nlu_chi cy$ curl -XPOST localhost:5000/parse -d '{"q":"感冒", "model": "model_20200327-172755"}' | python3 -mjson.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 147 0 99 100 48 13462 6527 --:--:-- --:--:-- --:--:-- 14142
{
"intent": {
"name": null,
"confidence": 1.0
},
"entities": [],
"text": "\u611f\u5192"
}
有人能帮忙看看吗

@aaronysl
Copy link
Author

训练了模型,放在models/里面的,但是status查看没有模型
localhost:rasa_nlu_chi cy$ curl localhost:5000/status
{
"available_projects": {
"default": {
"status": "ready",
"available_models": [
"fallback"
],
"loaded_models": [
"fallback"
]
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant