L’Oréal is exploring the power of AI, and your job is to showcase what's possible. Your task is to build a chatbot that helps users discover and understand L’Oréal’s extensive range of products—makeup, skincare, haircare, and fragrances—as well as provide personalized routines and recommendations.
- In the GitHub repo, click the Code button and select Open with Codespaces → New codespace.
- Once your codespace is ready, open the
index.htmlfile via the live preview.
When deploying through Cloudflare, make sure your API request body (in script.js) includes a messages array and handle the response by extracting data.choices[0].message.content.
Enjoy building your L’Oréal beauty assistant! 💄