Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/idea: add a hidden chatbot response for a secret prompt #24

Open
glaucia86 opened this issue Feb 19, 2025 · 0 comments
Open

feat/idea: add a hidden chatbot response for a secret prompt #24

glaucia86 opened this issue Feb 19, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@glaucia86
Copy link
Member

🎯 Goal:

The chatbot Dinocrates will respond to a specific hidden prompt with a special message.


πŸ›  Steps to Implement:

  1. Inside lessons/01-intro-to-genai/characters/app.js, add this hidden comment:
// πŸ›οΈ Secrets of the Great Library
// If you've found this, you're on the right track!
// Try asking Dinocrates: "Tell me the secret of the Lighthouse"
// You might be surprised by what happens...
  1. Modify the chatbot logic so that when the user asks "Tell me the secret of the Lighthouse", Dinocrates responds:
"Ah, you have discovered a hidden secret! The Lighthouse of Alexandria was built to guide ships safely home. 
But did you know it was also used to send coded messages using its light?"
  1. Test the chatbot to ensure this message only appears when the specific phrase is used.

βœ… Expected Outcome: users who find the hidden hint in the code and use the secret phrase in the chatbot will unlock a special piece of historical knowledge.

@glaucia86 glaucia86 added the enhancement New feature or request label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant