我不明白我这次得到的错误,我在运行时在rasa_core上运行apixu.com API,甚至发出这种错误,你能帮我解释一下吗?
错误:rasa_core.processor:运行操作“action_weather”时遇到异常。Bot 将继续,但操作事件会丢失。确保修复自定义代码中的异常。
错误:rasa_core.processor:错误代码 1003:“缺少参数 q。” 回溯(最近一次通话最后):
File "C:\Program Files\Anaconda3\lib\site-packages\rasa_core\processor.py", line 302, in _run_action events = action.run(dispatcher, tracker, self.domain) File "C:\Program Files\Anaconda3\actions.py", line 18, in run current = client.getCurrentWeather(q=loc) File "C:\Program Files\Anaconda3\lib\site-packages\apixu\client.py", line 37, in getCurrentWeather return self._get(url, args) File "C:\Program Files\Anaconda3\lib\site-packages\apixu\client.py", line 27, in _get raise ApixuException(message=err_msg, code=err_code) apixu.client.ApixuException: Error code 1003: "Parameter q is missing."