younghao
(younghao)
1
Hi.
in endpoints.yml,I set:
action_endpoint:
url: "http://localhost:5055/webhook"
tracker_store:
store_type: redis
url: localhost
port: 6379
db: 0
password:
run this:
python3 -m rasa_core.run --enable_api -d models/dialogue -u models/current/nlu --endpoints endpoints.yml --cors “*” --debug
However, I check the redis,the keys were empty.the slot was still saved in memory. So, did I make something wrong with this?
in Python, I can set the redis:
import redis
r = redis.Redis(host='localhost', port=6379, db=0)
r.set('foo', 'bar')
True
younghao
(younghao)
2
I have solved this issue.
in endpoints.yml,I set:
action_endpoint:
url: "http://localhost:5055/webhook"
tracker_store:
store_type: redis
url: localhost
and it worked.
1 Like
Juste
(Juste)
3
Awesome @younghao! Also, great that you shared the solution here too!
1 Like
@Juste Can you please elaborate how to add RedisTrackerStore into code file?
i am having the same problem here is my endpoint code
action_endpoint:
url: "http://localhost:5055/webhook"
tracker_store:
store_type: redis
url: localhost
port: 6379
db: 1
but all my key are empty even if i start my chatbot
indranil180
(Indranil Ganguly)
6
This worked for me too on rasa core 0.12.2. Thanks