Priori Search: AI for Lawyers
Overview of the Business
Corporate Law: A Tradition of Precision
Who They Are (spoiler, it’s not Harvey Spectre)
Corporate lawyers are essential advisors for businesses, ensuring document drafting and review and overseeing large transactions. Despite the glamour seen on shows like Suits, the reality involves meticulous document reviews and strategic negotiations, often extending late into the night.
Priori, our client, wanted to change this, building a product that addressed these main challenges:
Quality Inconsistencies and Burnout: Preparing contracts and legal documents consumes significant time and can lead to inconsistencies due to burnout, especially under tight client-imposed deadlines.
Manual Comparison and Error Rates: Major inefficiencies in their process is the manual negotiation and revision of changes with counterparts, leading to potential errors and high time consumption.
Knowledge Loss and Training Challenges: High turnover among junior lawyers and the lack of a centralized knowledge base, results in recurring inefficiencies and extended training periods..
Priori contacted Base Labs to help land and iterate these issues into an effective product.
The Challenge
Priori faced a series of challenges that required sophisticated solutions:
AI Integration: Priori needed to integrate AI models into their existing platform but lacked the expertise to do so efficiently, which hindered their ability to automate complex processes effectively.
Product Feature Optimization: The company recognized the need to enhance its product features through AI and organic use to improve document accuracy and processing speed but struggled with product design and technical improvements.
The Solution
Base Labs designed and implemented a sophisticated AI LLM (Large Language Model) for Priori.
The AI model facilitates efficient and accurate handling of legal documents by offering the following capabilities which Base Labs designed and implemented for Priori:
AI integration and design
Automated Document Categorization: Quickly organizes legal documents by contract type for easier access.
Most Favored Party Identification: Detects and tags clauses that favor a client, aiding in effective negotiations.
Client-Preferred Language Tagging: Utilizes past data to apply client-specific language preferences to new documents.
Product advancements
Microsoft Word Plugin: Integrates with tools in lawyers’ ecosystem allowing real-time document tagging, continuously improving AI accuracy.
Creation of quick actions tool: Specifically designed for partners that are reviewing documents constantly to give them more organic useability of Priori.
By employing these AI-driven capabilities and improvements to the product, Base Labs helped Priori optimized its tagging and document analysis processes.
Results
Base Labs effectively enhanced Priori's product by integrating AI-driven capabilities, significantly streamlining and refining the document drafting process, which in turn brought the following results for Priori’s clients:
Document Processing: Reduced document processing time by 60%, improving upon Priori's previous document tagging processes.
Increased DAU: Increased daily active users by 20%, specifically at partner level.
Economic Impact: Saved Priori an average of 30% of costs per document processed, significantly boosting profitability.
Tech Stack and Architecture
Solution and Key Decisions Made
Typesense over Algolia: Typesense is an open source next generation search engine that’s (i) light weight, (ii) typo tolerant, and (iii) safely clusterizes information in separated data spaces.
Training on Dagshub: After evaluating many training platforms we concluded Dagshub was the best option from a price-to-value, security and privacy perspective.
Multi model approach: Instead of implementing a large LLM we dissected the text processing into different models to improve precision and avoid hallucinations.
“Base Labs has delivered exceptional AI development services and product strategy and enhancement that have significantly enhanced our product at Priori. ”