# 此文件包含bot可以使用的不同endpoints。
# 从中提取模型的服务器。
# https://rasa.com/docs/rasa/model-storage#fetching-models-from-a-server
#models:
# url: http://my-server.com/models/default_core@latest
# wait_time_between_pulls: 10 # [optional](default: 100)
# 运行自定义操作的服务器。
# https://rasa.com/docs/rasa/custom-actions
action_endpoint:
url: "http://localhost:5055/webhook"
# 用于存储对话的跟踪器存储。
# 默认情况下,对话存储在内存中。
# https://rasa.com/docs/rasa/tracker-stores
#tracker_store:
# type: redis
# url: <host of the redis instance, e.g. localhost>
# port: <port of your redis instance, usually 6379>
# db: <number of your database within redis, e.g. 0>
# password: <password used for authentication>
# use_ssl: <whether or not the communication is encrypted, default false>
#tracker_store:
# type: mongod
# url: <url to your mongo instance, e.g. mongodb://localhost:27017>
# db: <name of the db within your mongo instance, e.g. rasa>
# username: <username used for authentication>
# password: <password used for authentication>
# 所有会话事件都应流式处理的Event broker。
# https://rasa.com/docs/rasa/event-brokers
#event_broker:
# url: localhost
# username: username
# password: password
# queue: queue
# nlu服务
# nlu:
# url: "http://<your nlu host>:<your nlu port>"
# token: <token> # [optional]
# token_name: <name of the token> # [optional] (default: token)
# nlg服务
# nlg:
# url: http://localhost:5055/nlg
#
# You can also specify additional parameters, if you need them:
# headers:
# my-custom-header: value
# token: "my_authentication_token" # will be passed as a GET parameter
# basic_auth:
# username: user
# password: pass
Rasa中endpoints.yml文件的编写
最新推荐文章于 2025-03-20 15:05:36 发布