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

Feature Request - Implementation of Follow-Up Question Functionality #366

Open
magedhelmy1 opened this issue Feb 23, 2024 · 4 comments
Open

Comments

@magedhelmy1
Copy link

Inquiring about the possibility of adding a feature that allows for follow-up questions to be asked for clarification or to obtain detailed information on specific parts of the report or start a new report.
This feature is aimed at enhancing the user's ability to interact more dynamically and acquire precise information.

Key Feature Requests:

  1. Follow-Up Question Prompt: After the initial report, the system should prompt the user if they need further clarification or have additional questions related to the initial query.
  2. Contextual Recognition: The system should maintain context between the initial query and the follow-up question to provide relevant and accurate responses.

Use Case Scenario:

  1. A user queries a software-related report.
  2. The system provides an initial report.
  3. The user is then prompted if they need further clarification or have more questions regarding the report.
  4. The user submits a follow-up question that is contextually tied to the original report.
  5. The system recognizes the context and provides a relevant and detailed follow-up response.
@jenochs
Copy link

jenochs commented Feb 27, 2024

Thoughts on implementation options for issue:

  1. Follow-Up Question (Ask a Question)
    • Implementation option 1 (use innerhtml as context - copy to clip board logic)
      -This would grab the report txt as input into a custom report
    • Implementation option 2 (use url to pdf as context)
      -This would pass the url of the pdf report generated to custom report.
    • Add button (Ask a question)
  2. Follow-Up Question (Update Research)
    • Implementation option (use pdf url and report references to regenerate report with new query)
    • pass pdf url along with reference urls to report generator to update research and maintain context
Screenshot 2024-02-26 at 7 49 04 PM

@assafelovic
Copy link
Owner

@jenochs this is awesome. how about creating a PR for this?

@renzit
Copy link

renzit commented May 16, 2024

nice feature, I need this,
before I start doing it I wanted to know if it is already advanced in any way? @jenochs
thank you

@assafelovic
Copy link
Owner

Hey would love a PR for this. Very much needed!

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

No branches or pull requests

4 participants