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(bot): enhance MindGuide prompt with character boundaries #93

Open
wants to merge 1 commit into
base: dwoc-2025
Choose a base branch
from

Conversation

AritraDey-Dev
Copy link
Contributor

Fixes Issue #55

Enhances the MindGuide bot's prompt system for better character consistency and security

Changes proposed

  • Added personality and clear boundaries to MindGuide bot
  • Implemented strict mental health focus with character-based responses
  • Added fallback response for off-topic questions
  • Improved prompt security against injection attempts

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Screenshot from 2025-01-29 23-17-53
Screenshot from 2025-01-29 23-18-29

Copy link
Owner

@sristy17 sristy17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, @AritraDey-Dev! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

@pooranjoyb
Copy link
Collaborator

Create a folder called utils and create a file named bot.js

  • there you can create a function that returns the entire prompt text as response.
  • pass the user message to this function.

@AritraDey-Dev

@pooranjoyb pooranjoyb added good first issue Good for newcomers dwoc-2025 Issue under DWOC 2025 labels Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dwoc-2025 Issue under DWOC 2025 good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants