Working demo.html with connection to the api endpoint
This commit is contained in:
@@ -51,8 +51,8 @@ Chosen data folder: relatve ./../../../data - from the current folder
|
||||
|
||||
# Phase 9 (simple html web page with chat interface)
|
||||
|
||||
- [ ] Create html webpage called demo.html, with simple UI for chat interface. It can be taken with predefined data from codepen or something
|
||||
- [ ] Adjust demo.html code, so it would in fact work with the API endpoint, as chat with the agent. API endpoint should be asked beforehand in propmt message.
|
||||
- [ ] After accepting API endpont address, it should be used to send requests and process responses to imitate chat with the agent by the provided API endpoint.
|
||||
- [ ] Show API endpoint in the header of the chat.
|
||||
- [ ] If there is error connecting with the API, imitate bot sending message about error with the connection and suggestion to reload page to provide new API endpoint
|
||||
- [x] Create html webpage called demo.html, with simple UI for chat interface. It can be taken with predefined data from codepen or something
|
||||
- [x] Adjust demo.html code, so it would in fact work with the API endpoint, as chat with the agent. API endpoint should be asked beforehand in propmt message.
|
||||
- [x] After accepting API endpont address, it should be used to send requests and process responses to imitate chat with the agent by the provided API endpoint.
|
||||
- [x] Show API endpoint in the header of the chat.
|
||||
- [x] If there is error connecting with the API, imitate bot sending message about error with the connection and suggestion to reload page to provide new API endpoint
|
||||
|
||||
Reference in New Issue
Block a user