Skip to content

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

@glaucia86

Description

@glaucia86

🎯 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions