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

我想问一下endpoints.yml文件的配置 #26

Open
shengyaokai opened this issue Jun 18, 2020 · 3 comments
Open

我想问一下endpoints.yml文件的配置 #26

shengyaokai opened this issue Jun 18, 2020 · 3 comments

Comments

@shengyaokai
Copy link

我在endpoints.yml文件中配置了数据库的连接
action_endpoint:
url: "http://localhost:5055/webhook"

tracker_store:

MySQL

type: SQL
dialect: mysql+pymysql
url: 127.0.0.1:3306
db: rasa_db
username: root
password: 123456
record_exp: 60
我是这样配置的 我看见很多是配置mongodb的
我配置完了之后怎么调用数据库里的数据啊

@shengyaokai
Copy link
Author

配置完了我不知道接下来的操作了 之前是通过config.yml和domain.yml生成的训练模型 现在配置之后接下里的操作是什么样的啊

@jiangdongguo
Copy link
Owner

迟点我再出一篇文章 action篇,会说到这里

@shengyaokai
Copy link
Author

@jiangdongguo
我已经把endpoints.yml中的mysql替换成了mongodb
tracker_store:
type: mongod
url: mongodb://127.0.0.1:27017
db: rasa
username: text
password: text
然后按照官网运行命令
rasa run -m models --endpoints endpoints.yml
会有报错
2020-06-23 09:58:31.707225: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\rasa\core\policies\keras_policy.py:265: FutureWarning: 'KerasPolicy' is deprecated and will be removed in version 2.0.
Use 'TEDPolicy' instead.
current_epoch=meta["epochs"],
2020-06-23 09:58:32 INFO rasa.core.policies.ensemble - MappingPolicy not included in policy ensemble. Default intents 'restart and back will not trigger actions 'action_restart' and
'action_back'.
我tensorflow的版本有什么问题嘛
tensorflow 2.1.0
tensorflow-addons 0.8.3
tensorflow-cpu 2.2.0
tensorflow-estimator 2.1.0
tensorflow-hub 0.7.0
tensorflow-probability 0.7.0
tensorflow-tensorboard 0.4.0

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

2 participants