Doctor-Friende icon indicating copy to clipboard operation
Doctor-Friende copied to clipboard

rasa run --enable-api 为什么没有 /webhooks/rest/webhook.

Open victorbai2 opened this issue 4 years ago • 9 comments

@pengyou200902 Hi, pengyou, 在启动 rasa run --enable-api 为什么webhooks的api没有启动呢?

victorbai2 avatar Jan 10 '21 12:01 victorbai2

命令行截图有吗?

Dustyposa avatar Jan 15 '21 02:01 Dustyposa

@Dustyposa @pengyou200902 你能启动?

2021-01-15 00:46:34 DEBUG    rasa.core.utils  - Available web server routes:
/conversations/<conversation_id:path>/messages     POST                           add_message
/conversations/<conversation_id:path>/tracker/events POST                           append_events
/model/test/intents                                POST                           evaluate_intents
/model/test/stories                                POST                           evaluate_stories
/conversations/<conversation_id:path>/execute      POST                           execute_action
/domain                                            GET                            get_domain
/mysocket.io                                       GET                            handle_request
/                                                  GET                            hello
/model                                             PUT                            load_model
/model/parse                                       POST                           parse
/conversations/<conversation_id:path>/predict      POST                           predict
/conversations/<conversation_id:path>/tracker/events PUT                            replace_events
/conversations/<conversation_id:path>/story        GET                            retrieve_story
/conversations/<conversation_id:path>/tracker      GET                            retrieve_tracker
/webhooks/socketio                                 GET                            socketio_webhook.health
/status                                            GET                            status
/model/predict                                     POST                           tracker_predict
/model/train                                       POST                           train
/conversations/<conversation_id:path>/trigger_intent POST                           trigger_intent
/model                                             DELETE                         unload_model
/version                                           GET                            version
2021-01-15 00:46:34 INFO     root  - Starting Rasa server on http://localhost:5000

victorbai2 avatar Jan 15 '21 05:01 victorbai2

@victorbai2 是请求 /webhooks/rest/webhook 404? 其他接口请求有吗? /version

Dustyposa avatar Jan 15 '21 06:01 Dustyposa

@Dustyposa 上面不是有吗? 打印出来上面的都可以,但是不知道wehook rest这个不行.

victorbai2 avatar Jan 15 '21 08:01 victorbai2

.....我意思是 请求 验证。

Dustyposa avatar Jan 15 '21 08:01 Dustyposa

@Dustyposa 可以的

victorbai2 avatar Jan 15 '21 08:01 victorbai2

。。。。。可以是可以什么 。。。。。。。。。 /webhooks/rest/webhook 404? /version 200?

Dustyposa avatar Jan 15 '21 08:01 Dustyposa

@Dustyposa 对

victorbai2 avatar Jan 15 '21 09:01 victorbai2

credentials.yml 有配置吗

Dustyposa avatar Jan 18 '21 02:01 Dustyposa