<aside>
⚠️ Don’t forget about Execute Program! (a bit every day, if you can)
</aside>
ChatGPT clone (part 2 - server side!)
Core user stories:
- Accessing the Chat Interface
- As a user, I want to access a web page so that I can interact with a chatbot.
- Sending Messages
- As a user, I want to type my questions or statements into a text input field and submit them so that I can communicate with the chatbot.
- Receiving Responses
- As a user, after I submit my message, I want to see the chatbot's response displayed on the web page so that I can read the answer or reaction.
- Viewing Conversation History
- As a user, I want to see both my messages and the chatbot's responses listed in order on the page so that I can follow the flow of our conversation.
- Error Handling
- As a user, if there is an error in communication with the chatbot (like a network error), I want to see an informative error message so that I understand that something went wrong.
In order to help you a little, here is an addendum to the server workshop:
Server workshop addendum - calling openAI API