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

[Bug] Incorrect Response of TelMedBot to user queries #166

Open
3 of 5 tasks
AdityaBavadekar opened this issue Jan 20, 2025 · 9 comments · May be fixed by #198
Open
3 of 5 tasks

[Bug] Incorrect Response of TelMedBot to user queries #166

AdityaBavadekar opened this issue Jan 20, 2025 · 9 comments · May be fixed by #198

Comments

@AdityaBavadekar
Copy link
Collaborator

AdityaBavadekar commented Jan 20, 2025

Description

The chatbot (TelMedBot) on the platform, is currently providing an incorrect response during conversations. Instead of responding to the user's query, it asks questions that are out of context and has wrong understanding of who user is.

Solution:
Change the prompt provided to the bot such that the responses align with the platform's goals and practices.

Screenshots

Image

Checklist

  • I have checked the existing issues.
  • I follow Contributing Guidelines of this project
  • I am a SWOC'25 contributor.
  • I am a KWOC'24 contributor.

Code of Conduct

@AdityaBavadekar AdityaBavadekar added the 🐣 good first issue Good for newcomers label Jan 20, 2025
Copy link

Hey @AdityaBavadekar, Welcome to 💖TelMedSphere !!! 🎊
Thanks for opening an issue! 🙌 Please wait for the issue to get reviewed. If it is relevant, it will get assigned to you.
Happy Coding !!! ✨

@AritraDey-Dev
Copy link

hey i am dwoc contributor.Can you please assign me this issue?

@PratikMane0112
Copy link
Owner

@AritraDey-Dev Thanks for you interest. Please proceed...

@AritraDey-Dev
Copy link

Can you review my PR and let me know any changes required?

@PratikMane0112
Copy link
Owner

Can you review my PR and let me know any changes required?

Tag aditya, he created that issue !!

@AritraDey-Dev
Copy link

@AdityaBavadekar can you review the PR I raised solving this issue and let me know if any changes needed

@AdityaBavadekar
Copy link
Collaborator Author

Hi @AritraDey-Dev, you have update the INTRO_WORDS list which could improve the responses but it will still not fix the issue.
The issue can be fixed by adding a system prompt to the messages initially itself that will provide the model with instruction on how to response and the overall context. This could be done by adding an instruction message at first index in the messages just before sending the messages to the API.

@AnshSinghal
Copy link

Hi @AdityaBavadekar I can fix this issue. Please assign this to me.

@AdityaBavadekar
Copy link
Collaborator Author

Hi @AritraDey-Dev, please take a look at suggested changes and update the PR accordingly.
Please do within 2 days or else it will be assigned to @AnshSinghal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants