OpenAI interview question

Implement a chat feature in an existing application