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

Group chat capabilities #20

Closed
veigamann opened this issue May 24, 2023 · 3 comments
Closed

Group chat capabilities #20

veigamann opened this issue May 24, 2023 · 3 comments
Labels
feature/enhancement Improves/adds new functionality

Comments

@veigamann
Copy link
Collaborator

veigamann commented May 24, 2023

Currently, Sydney lacks awareness of being in a group chat and mistakenly assumes all messages are from a single person. To improve this, the following implementation can be adopted:

  1. Check each received message to determine if it belongs to a group or a private chat.
  2. If it is a group chat, Sydney should only respond if it is specifically mentioned (e.g., "@sydney, what time is it?") or if Sydney's previous message was replied to within a thread (AKA the reply functionality in WhatsApp where messages can be threaded).
  3. Sydney should also be aware of the name of the participant who mentioned it, enabling a coherent conversation.

This approach provides a more semantic and intuitive way to refer to the bot whenever you want a response.

Note: Sydney will not actively read every single message in the group to learn about its context, as this is slow and leads to unpredictable behavior.

@veigamann veigamann added the feature/enhancement Improves/adds new functionality label May 24, 2023
@veigamann
Copy link
Collaborator Author

This originated from #6. Thanks, @Ryzitos!

@Ryzitos
Copy link

Ryzitos commented May 24, 2023

This originated from #6. Thanks, @Ryzitos!

OMG I THANK YOU, you are literally the best creator on this platform that I have ever been able to talk to and solve my problems, thank you so much ✨✨✨💪💪

@veigamann
Copy link
Collaborator Author

Added in 55b92eb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/enhancement Improves/adds new functionality
Projects
None yet
Development

No branches or pull requests

2 participants