在rasa中为查找表提供路径的正确方法

问题描述

我想为rasa nlu训练添加查找表。我已经在数据文件夹中创建了一个city.txt文件,并将其添加为我的nlu.md文件

## lookup:location
   data/cities.txt

当我尝试使用rasa train nlu训练模型时,出现错误

ValueError: Could not load lookup table data/cities.txt. Please make sure you've provided the correct path.

给出路​​径的正确方法是什么?

编辑

我正在使用Windows系统:

cmd prompt => C:\Users\1000277196\Desktop\chatbot> rasa train nlu

解决方法

相对于运行TestHandler命令的位置,您确定路径正确吗?如果您位于目录SendAsync中,则文件应位于try