Problem Statement
Hiring a lawyer can get pretty expensive in Pakistan. Two non-technical investors thought of an idea to create an AI-based lawyer that can process textual queries and answer them accordingly with citations to the PPC (Pakistan Penal Code) and Constitution. This is especially useful for people living in remote areas and even urban women looking to get a consultation privately. Luckily, I run a software development business, so I will be providing them services.
An artificially-intelligent lawyer. Credits:Insider Inc.
Requirements
The functional and non-functional requirements of the proposed AI-based lawyer are listed below:
Functional Requirements
- User authentication using a login username and a password
- Error-reporting using precise and constructive error messages
- Process textual queries using natural language processing (NLP)
- Curate legal information based on search queries
- Answer queries accordingly with citations to the PPC (Pakistan Penal Code) and Constitution
- Store and organize legal files, including contracts, case files, notes, and emails
- Pull specific documents required for due diligence
- Knowledge-based database and configured to swiftly retrieve information
- The administrator should be able to to add, update and delete questions, answers and keywords
- Show an error message in case of a network issue
- Selection of preferred language for user-interface
- Periodic updates to the database
- A textbox on the GUI that can be filled in using keyboard inputs
- Heuristic retrieval of relevant facts and figures
- Store data needed to provide answers SQL database
- Display queries and responses from the current session the window
- Reply the user with the solution as a text message
- Show waiting time to the user during processing
- Determine keywords in the query entered by the user
- Auto-correct feature to improve comprehension in case of errors
Non-Functional Requirements
- Safety of confidential documents and clients' history
- Connect to other systems like Microsoft Office to easily share files with others
- Document automation to help law firms create documents using intelligent templates
- Scan electronic information to obtain non-privileged information relevant to a case or claim
- Quickly scan and search large databases of regulations, statutes, practice areas, jurisdictions, and case laws
- Determining the viability of litigation by extensive analysis of precedent-setting cases
- Interact with a user using text or speech
- Simple and natural dialogue / speak the user's language
- Efficiency and ease of use
- Check-in/check-out privileges to maintain version control and security
- Ability of the system to protect itself against accidental or deliberate intrusion
- Description of the different user roles and their authorization levels
- Text-based communications making the use of natural language to process conversations
- Availability of components and integrity of information maintained and supplied to the system
- Adaptive system design (maintainability, enhanceability, portability)
- Detailed descriptions of system dialogs (error-handling)
- Easy-to-learn and good-looking user interface (satisfaction)
- Protection of user data against malware attacks or unauthorized access (security)
- Robust response to users' actions under a high workload (performance)
- In line with the context of the local market-to-be (localization)
Estimated Time
About Contract.PK
Online interactions in Pakistan have been marred by scams and uncertainty for as long as I can remember. Whether it's a client running away with deliverables or a vendor sending you a faulty product, Pakistan's consumer base has struggled to put all of its eggs in the digital basket. We wanted to create a solution that would solve just that and eradicate the need for trust in online dealings and provide consumers with a hassle-free experience.
After two years of rigorous market research and talking to subject matter experts, we finally started developing Contract.PK. Based on the escrow model, we worked hard to simplify the end-to-end process of buying and selling online in Pakistan.
Saqib Ali, Co-founder at Contract.PK
Contact
Feel free to contact me at taimuur.shahzad@gmail.com