| Level Navigation: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | Current Level: 32 |
Goal: Stretch and personalize your chatbot. Each option is optional. Pick one or more to attempt.
Choose from these challenge options to make your chatbot unique:
Building advanced features? You’ll need to combine multiple concepts like variables, functions, and conditional logic. Check out the Common Patterns section in SNIPPETS.md for complete examples.
Update the prompt with a “role” instruction that tells the model how to behave (e.g., kind, single-word answers, emoji replies, formatted text).
Add checkboxes or radio buttons so the user can choose how the model responds. Use these options to adjust the role command dynamically.
Create a form with multiple inputs (text fields, checkboxes, etc.). Combine the values into one string prompt for the model. Hint: remember Mad Libs?
Research how to call a Hugging Face image generation model. Use a blob from the response to display the generated image.
Research how to let the user upload an image and submit it to a Hugging Face model using FormData. Display the model’s response (caption, classification, etc.).
Mix several of the above techniques to create a unique experience. For example:
You’ve gone above and beyond. Your chatbot is now uniquely yours!
When you’ve completed this level, commit your work with a meaningful message like:
git add .
git commit -m "feature: complete step 6 - challenge extensions"
🎊 Congratulations! You’ve completed the entire chatbot project! 🎊
| Level Navigation: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | Current Level: 32 |