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

Court Judgement Drafting: Building QnAs, copilot response cycle and final merger #14

Open
AryanPrakhar opened this issue May 13, 2024 · 1 comment

Comments

@AryanPrakhar
Copy link
Contributor

Ticket Contents

  1. Building QnAs
  • Providing Document’s sections and semantics as “Context” in our few shot prompt
  • Giving examples of few questions for a section in the few shot prompts
  • In this way the LLM will generate enough questions pairs on a every document section provided.
  • We can also set no. of questions, the tone of questions, length and other requirements.
  1. Building the interface + copilot response cycle
  • Rounds of question and answer session with client will occur.
  • If sufficient info is not recieved then copilot will again ask a better question to get all the details needed.
  • After recieving all the info then the document drafting process will begin.
  1. Drafting the document
  • Here we will merge the pertinent document sections.
  • The merging will occur in a defined layout or structure according to the need.
  • This will result in our final draft of the required document.

Goals & Mid-Point Milestone

Goals

  • Input: Schema provided by step 1.
  • Create questions whose answers will add details to the values of the schema.
  • If values cannot be extracted in the required detail from the user answer, ask back more questions to the user.
  • Incorporate different kinds of datastores like frozen values, unique elements and common elements.

Setup/Installation

No response

Expected Outcome

No response

Acceptance Criteria

No response

Implementation Details

  1. Ask LLM to create questions:

    • LLM evaluates if the user answer contains the required answer.
    • If yes, ask the next question.
    • If no, then create another question that answers the question.
  2. Create a decision (only works if you know the options based on which you predict).

Mockups/Wireframes

No response

Product Name

Court Judgement Drafter

Organisation Name

SamagraX

Domain

⁠Service Delivery

Tech Skills Needed

Machine Learning, Natural Language Processing, Python

Mentor(s)

@ChakshuGautam @GautamR-Samagra

Category

Machine Learning

@AryanPrakhar
Copy link
Contributor Author

Weekly Learnings & Updates

Week 1

Week 2

Week 3

Week 4

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

1 participant