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

Follow-up questions in AI chat #12243

Open
InAnYan opened this issue Nov 26, 2024 · 2 comments
Open

Follow-up questions in AI chat #12243

InAnYan opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
📍 Assigned Assigned by assign-issue-action (or manually assigned) component: ai Related to AI Chat/Summarization component: ui

Comments

@InAnYan
Copy link
Collaborator

InAnYan commented Nov 26, 2024

Is your suggestion for improvement related to a problem? Please describe.

Many AI chat programs have a feature called "follow-up questions". It behaves as follows:

  1. User sends a question to AI.
  2. AI responds.
  3. Somewhere below or above chat prompt there is a list of short questions that is relevant to ongoing conversation.

Those follow-up questions can be used for brainstorming, or when user just doesn't know what to ask more.

Describe the solution you'd like

Introduce this feature to JabRef!

Additional context

How to do this:

  1. Make a new setting: "Generate follow-up questions", which is boolean. Generate follow-up questions ONLY if it is true.
  2. After each AI response in AI chat run a background process for generating follow-up questions:
    1. You should create a prompt that would accept last user message and last AI message. Task the AI to generate follow-up questions. They should be small and there should be several of them.
    2. AI should generate response in a special format, so that you can then parse them into a list of questions.
  3. When you got follow-up questions, add them above the chat prompt as buttons or links (you are free to experiment, though it should be and look simple).
  4. When user clicks on a link, message should be sent to AI.
  5. When any message is sent to AI (either follow-up, or custom), list of follow-up questions must be cleared
@InAnYan InAnYan added component: ui component: ai Related to AI Chat/Summarization labels Nov 26, 2024
@github-project-automation github-project-automation bot moved this to Normal priority in Prioritization Nov 29, 2024
@Anmol202005
Copy link

/assign-me

@github-actions github-actions bot added the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Dec 20, 2024
Copy link
Contributor

👋 Hey @Anmol202005, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.

In case you encounter failing tests during development, please check our developer FAQs!

Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.

Happy coding! 🚀

⏳ Please note, you will be automatically unassigned if the issue isn't closed within 90 days (by 20 March 2025). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📍 Assigned Assigned by assign-issue-action (or manually assigned) component: ai Related to AI Chat/Summarization component: ui
Projects
Status: Normal priority
Status: No status
Development

No branches or pull requests

2 participants