Skip to content

Customer Driven Project (TDT4290) The project is a collaboration between NTNU and KartAI. Showcasing use of AI for streamlining building case process

License

Notifications You must be signed in to change notification settings

kartAI/ntnu-kpro-ai-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTNU KPRO AI Assistant

Each year, the Norwegian public spends about 5.6 billion NOK on planning and validating building applications. The process is complex, time-consuming, and often yields poor-quality submissions. The KartAI project aims to streamline this by developing AI tools to support the application process. The project is a collaboration between the Norwegian University of Science and Technology (NTNU) and KartAI.

KatAI's main goal is to streamline municipal work processes related to cadastre and building case processing using automated, advanced data-driven methods, including artificial intelligence in combination with proactive user and citizen dialogue. The goal is to contribute to automating and streamlining the processing of building cases.

The scope of the project consists of two primary objectives:

  • Develop a Web Application: This platform will serve as a centralized hub, integrating the various AI models available through the KartAI project. By bringing these models together, the application will serve as a proof-of-concept (PoC), allowing KartAI to display their assortment of AI tools for different stages of the application process.

  • Create a Summary AI Assistant: This AI-driven tool analyze documents from submitted applications and generate concise summaries, highlighting key points. The system implements a checklist matching feature. It cross-reference the building application with an official checklist and relevant regulations and inform about the quality of the application. This functionality is designed to support both applicants and case workers, enhancing the overall efficiency and clarity of the application process

Final Product

The following is a brief overview of the final product, including the system architecture and screenshots of the web application and the AI Summary Assistant. System Architecture

Screenshots of the Final Product

Click to see Web Application screenshots
  1. Landing Page
    The landing page for the web application.
    Landing Page

  2. Landing Page with Navbar
    The landing page with the navigation bar displayed.
    Navbar

  3. 3D Tiltaksvisning
    The page for 3D visualization of projects.
    3D View

  4. PlanChat
    A chat window designed to answer questions about laws and regulations.
    PlanChat

  5. ArkivGPT Interface
    The user interface for interacting with the ArkivGPT AI model.
    ArkivGPT Interface

  6. ArkivGPT Results
    Displaying results from an ArkivGPT query.
    ArkivGPT Results

  7. File Preview
    Previewing files related to ArkivGPT queries.
    File Preview

  8. CADAiD Request
    User interface for requesting validation from the CADAiD model.
    CADAiD Request

  9. CADAiD Results
    Results generated from the CADAiD model.
    CADAiD Results

  10. Applications Overview
    A page showing an overview of applications for municipality workers.
    Applications Overview

  11. Municipality Dashboard (Top)
    The dashboard for municipality workers showing checklist maps.
    Municipality Dashboard Top

  12. Municipality Dashboard (Bottom)
    The dashboard displaying checklist maps and AI model results.
    Municipality Dashboard Bottom

  13. User Dashboard
    The dashboard where applicants can review their applications using various AI models.
    User Dashboard

Click to see AI Summary Assistant Screenshots
  1. AI Summary Assistant The graph showing the AI agent structure. AI Summary Assistant
  2. LangSmith tracking The monitoring of the agent showing what choices it makes. Here one can see the agent have retrieved relevant laws and regulations from vector database and done a web search, as well reflect on the output of it self before marking the checkpoint and giving its reasoning. LangSmith tracking

Prerequisites

Before you start, make sure the following tools are installed on your system:

  • Git: Version control system to clone the project repository Download Git
  • Docker: To containerize the application and ensure it runs consistently across different environments Download Docker

Setup

Start by going into the /webapp folder, making a copy of the .env.example file and renaming it to .env. This file contains the environment variables that the application needs to run. Open the .env file and update the environment variables according to your local or production setup.

Usage

To run the project, you can use the following commands:

docker compose --env-file ./webapp/.env  --env-file ./backend/.env up --build -d

This command will build the Docker images (if necessary) and run the containers in the background. You can access the clientside code at http://localhost:3000 and the API at http://localhost:8000. The Swagger documentation for the API is available at http://localhost:8000/docs.

To stop the containers, you can use the following command:

docker compose down

Important: In order to achieve the full functionality of the application, the AI models from the KartAI project must also be running. In our development we have ran them as docker containers locally on our machines. Though in the future, these will hopefully be available as public APIs.

Documentation

Team

The team behind this project is a group of students at NTNU in Trondheim. The team consists of:

Andreas Lilleby Hjulstad
Andreas Lilleby Hjulstad
Artemis Kjøllmoen Aarø
Artemis Kjøllmoen Aarø
Johanne Eide Omland
Johanne Eide Omland
Magnus Giverin
Magnus Giverin
Maurice Wegerif
Maurice Wegerif
Sverre Nystad
Sverre Nystad

About

Customer Driven Project (TDT4290) The project is a collaboration between NTNU and KartAI. Showcasing use of AI for streamlining building case process

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published