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] : Adding context of prev message in AI prompt #43

Open
3 tasks
not-meet opened this issue Feb 26, 2025 · 1 comment
Open
3 tasks

[Feat] : Adding context of prev message in AI prompt #43

not-meet opened this issue Feb 26, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@not-meet
Copy link
Contributor

not-meet commented Feb 26, 2025

What do we need?

Right now the AI generated replies are created on the basis of the prev message only
The idea i propose is adding some chunk of chat history as a context in the prompt with the reply to create

This will help to improve -

  • Relevance (with the help of context the replies will not be detached)
  • Coherence & better personalization (with the history ai can understand the flow of messages and tonality of prev replies)

Acceptance Criteria

  • Fetching last 10 messages shared in the room
  • managing storage of the history
  • Addition of context in the prompt for all the ai handlers
@not-meet not-meet added the enhancement New feature or request label Feb 26, 2025
@not-meet
Copy link
Contributor Author

@VipinDevelops i believe it will be a good idea to give context to the AI to improve the quality of the reply created by the AI.
would like to hear your thoughts about this idea

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