Skip to content

Commit ddd5656

Browse files
committed
See commit description
- Fixes issue that if the Rasa backend is offline, it would cause the UI server to crash - Adds initial support for chats (WIP) - Optimizes the models screen
1 parent d51912e commit ddd5656

File tree

8 files changed

+526
-97
lines changed

8 files changed

+526
-97
lines changed

server/routes/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,9 @@ router.get('/rasa/version', rasa_router.getRasaNluVersion);
127127
router.post('/rasa/model/train', rasa_router.trainRasaNlu);
128128
router.put('/rasa/model', rasa_router.loadRasaModel);
129129
router.delete('/rasa/model', rasa_router.unloadRasaModel);
130-
//common middleware for parse
131-
router.post('/rasa/model/parse', rasa_router.parseRequest);
130+
router.post('/rasa/model/parse', rasa_router.modelParseRequest);
131+
router.post('/rasa/webhooks/rest/webhook', rasa_router.conversationParseRequest);
132+
router.post('/rasa/restart', rasa_router.restartRasaCoreConversation);
132133

133134
//authentication js
134135
router.post('/auth', auth.authenticateUser);

0 commit comments

Comments
 (0)