python - 从多个模型中解析 Rasa NLU
问题描述
我正在寻找使用多个模型解析训练有素的项目,而不仅仅是项目中的最后一个模型。
curl -XPOST localhost:5000/parse -d '{"q":"hello there", "project":"my_restaurant_search_bot"}'
请参考https://nlu.rasa.com/http.html
我之所以尝试这个只是因为我的巨大意图在 MITIE 的单个文件培训上花费了大量时间
解决方案
在您的旧版本中,您应该能够执行这样的请求(在此处记录):
curl -XPOST localhost:5000/parse -d '{"q":"hello there", "project": "my_restaurant_search_bot", "model": "<model_XXXXXX>"}'
推荐阅读
- json - VScode 中的表单/树 Json 视图和工具提示
- excel - 轻松清理不同字段的列表,仅保留具体字段
- conda - snakemake:conda env 到特定 smk 文件的相对路径,而不是执行路径(即 Snakefile with rule all)
- python - How to mask the upper triangle of a covariance matrix in sns.heatmap along with a covariance threshold?
- python - 如何对两个数据框之间的缺失数据进行计数和合并?
- snowflake-cloud-data-platform - 雪花,我可以分配一个只允许从 Accountadmin 角色访问计费的角色吗
- algorithm - 捕获雨水(算法)
- python-3.x - 异步计算并保存在 django 3 模型中
- java - 类型 Marathon 的方法 indexOf 未定义
- flutter - 是否可以禁用flutter_slidable的一个滑动方向的监听器?