This prototype explores how Large Language Models (LLMs) can enhance legal workflows by enabling intelligent case analysis, real-time transcription, and contextual feedback. By integrating AI into the legal process, it supports more efficient decision-making, improves accessibility to complex information, and fosters a deeper understanding of legal content through personalized, adaptive assistance.
Index | Description |
---|---|
High Level Architecture | High level overview illustrating component interactions |
Deployment | How to deploy the project |
User Guide | The working solution |
Directories | General project directory structure |
API Documentation | Documentation on the API the project uses |
Credits | Meet the team behind the solution |
License | License details |
The following architecture diagram illustrates the various AWS components utilized to deliver the solution. For an in-depth explanation of the frontend and backend stacks, please look at the Architecture Guide.
To deploy this solution, please follow the steps laid out in the Deployment Guide
Please refer to the Web App User Guide for instructions on navigating the web app interface.
├── cdk/
│ ├── bin/
│ ├── data_ingestion/
│ ├── lambda/
│ ├── layers/
│ ├── lib/
│ └── graphql/
├── docs/
│ ├── userGuide.md
│ ├── deploymentGuide.md
│ ├── images/
├── frontend/
│ ├── public/
│ └── src/
│ ├── app/
│ └── components/
/cdk
: Contains the deployment code for the app's AWS infrastructure/bin
: Contains the instantiation of CDK stack/data_ingestion
: Contains the code required for the Data Ingestion step in retrieval-augmented generation. This folder is used by a Lambda function that runs a container which updates the vectorstore for a course when files are uploaded or deleted./lambda
: Contains the lambda functions for the project/layers
: Contains the required layers for lambda functions/lib
: Contains the deployment code for all infrastructure stacks/graphql
: Contains the GraphQL schema and resolvers for the API.
/docs
: Contains documentation for the application./frontend
: Contains the user interface of the general public application
Here you can learn about the API the project uses: API Documentation.
For information on how Python dependencies are locked and managed across Lambda functions, see the Dependency Management Guide.
Steps to implement optional modifications such as changing the colours of the application can be found here.
This application was architected and developed by Prajna Nayak, Zayan Sheikh, and Kanish Khanna, with project assistance by Harleen Chahal. Thanks to the UBC Cloud Innovation Centre Technical and Project Management teams for their guidance and support.
This project is distributed under the MIT License.
Licenses of libraries and tools used by the system are listed below:
- For PostgreSQL and pgvector
- "a liberal Open Source license, similar to the BSD or MIT licenses."
LLaMa 3 Community License Agreement
- For Llama 3 70B Instruct model