Chatbot UI project based on React framework, Node 16+, with following functionality
- PC and Mobile supported
- Greeting message
- Showing example question
- Send and recieve messages
- Positive and Negative review
- Optional configuration based on API mode or self-defined data
- For self-definition mode, data structure can be modified from
chatRoomDefaultStartModelinConfig.ts.ChatbotDefaultStartModelis default model. - For API mode,
chatStartApiUrlshould be provided inConfig.tsfile based on the project API URL. Notice that in this mode, the URL list below should also be provided.- Config.chatMessageSendApi:The API url that performs the message sending.
- Config.chatMessageEvaluateApi: The API url that performs the action when user click like/dislike review.
- For self-definition mode, data structure can be modified from
- Related model could be change in
Modeldirectory - Chatroom related function is wrapped in
ChatBotServer.
- npm run start
- For response mocking,start up Mockoon, load and config
chatbot_management_mock.jsonfile - Open http://localhost:3000/?chatbot_id=xxx, chatbot_id should be provided
- npm run build

