Skip to content

rockramsri/BuildWise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—οΈ BuildWise – AI-Powered Conversational Assistant for Construction Tech

πŸš€ Finalist at ConTech 2025! An AI-driven, RAG-based conversational assistant designed to optimize document processing, enhance legal compliance, and streamline construction management.

✨ Features & Capabilities

πŸ”Ή Conversational AI πŸ€– β€’ AI-powered chatbot designed for intelligent document retrieval and question answering. β€’ Uses RAG (Retrieval-Augmented Generation) to provide precise, context-aware responses. β€’ Query Optimization for improved accuracy and Context Enhancement for better results.

πŸ“‘ AI-Powered Document Processing β€’ Extracts text, images, and numerical data from PDFs, legal documents, and reports. β€’ Converts unstructured information into structured insights.

πŸ“Š Graphical Data Visualization β€’ Automatically generates graphs & plots from extracted statistical/numerical data. β€’ AI-driven analysis to enhance decision-making.

πŸ“œ Legal Compliance & Policy Checker β€’ Extracts and analyzes legal regulations and policies from stored + live sources. β€’ Ensures documents comply with construction laws & expiry rules.

πŸ”„ AI-Powered Report Generation β€’ Summarizes extracted data into visually appealing, structured reports. β€’ Supports editable and downloadable formats.

πŸ“ Project Structure

πŸ“¦ BuildWise  
│── Backend  
β”‚   β”œβ”€β”€ API Setup  
β”‚   β”‚   β”œβ”€β”€ main.py  # Exposes API using FastAPI for frontend interactions  
β”‚   β”‚   β”œβ”€β”€ .env  # Stores API keys, LLM credentials, and database credentials  
β”‚   β”‚  
β”‚   β”œβ”€β”€ Data Extraction  
β”‚   β”‚   β”œβ”€β”€ Dynamic Extracted Datas  
β”‚   β”‚   β”‚   β”œβ”€β”€ download_info.json  # Metadata of downloaded documents  
β”‚   β”‚   β”‚   β”œβ”€β”€ google_search_results.json  # Web-scraped data for legal compliance  
β”‚   β”‚   β”‚   β”œβ”€β”€ links.csv  # List of extracted URLs for dynamic legal research  
β”‚   β”‚   β”œβ”€β”€ Uploaded
β”‚   β”‚   β”‚   β”œβ”€β”€ analyse_Data.py  # Handles uploaded PDFs for text/image extraction  
β”‚   β”‚   β”‚   β”œβ”€β”€ dynamic_data_extraction.py  # Automates extraction & stores in Pinecone  
β”‚   β”‚   β”‚   β”œβ”€β”€ scrape_Web.py  # Web scraping for real-time legal updates  
β”‚   β”‚   β”‚   β”œβ”€β”€ storeLawsInVdb.py  # Stores structured legal info in vector DB  
β”‚   β”‚  
β”‚   β”œβ”€β”€ Raw Datas  
β”‚   β”‚   β”œβ”€β”€ Images  
β”‚   β”‚   β”‚   β”œβ”€β”€ Image_data.md  # Static image interaction logs  
β”‚   β”‚   β”œβ”€β”€ PDFs  
β”‚   β”‚   β”‚   β”œβ”€β”€ Pdf_data.md  # Static PDF document metadata  
β”‚   β”‚  
β”‚   β”œβ”€β”€ Utils  
β”‚   β”‚   β”œβ”€β”€ legal_Data_Retriever.py  # Fetches legal rules dynamically from the web  
β”‚   β”‚   β”œβ”€β”€ llm_setup.py  # LLM wrapper for sentence embeddings & custom functions  
β”‚   β”‚   β”œβ”€β”€ query_answering.py  # **Enhances query understanding & improves accuracy**  
β”‚   β”‚   β”‚   πŸ“Œ **Query Optimization** for relevant search retrieval  
β”‚   β”‚   β”‚   πŸ“Œ **Context Enhancement** to improve AI-generated responses  
β”‚   β”‚  
│── Frontend  
β”‚   β”œβ”€β”€ (React.js UI with interactive dashboard & chatbot)

πŸ› οΈ Tech Stack

Component Tech Used
Frontend React.js βš›οΈ
Backend API FastAPI πŸš€
Database Pinecone & VectorDB πŸ”
LLMs OpenAI/GPT & Sentence Embeddings 🧠
Data Processing Python 🐍, Pandas, NumPy
Visualization Matplotlib, Plotly πŸ“Š
Storage & Logs JSON, CSV, Pinecone

πŸ“Έ Screenshots & Demo

πŸŽ₯ Demo Video πŸ“‘ Presentation Slides https://docs.google.com/presentation/d/1I3ZEpiBcTtXK0AsyRkMTCxSGAX7xXHCNHcf5aUEr9qY/edit?usp=sharing

πŸš€ How to Run the Project

1️⃣ Clone the Repository

git clone https://github.com/rockramsri/BuildWise.git
cd BuildWise

2️⃣ Install Dependencies

pip install -r requirements.txt

3️⃣ Set Up Environment Variables

Create a .env file and add:

OPENAI_API_KEY=your_openai_key
PINECONE_API_KEY=your_pinecone_key
DATABASE_URI=your_database_url

4️⃣ Run the Backend API

uvicorn Backend.API_Setup.main:app --reload

5️⃣ Start the Frontend

cd Frontend
npm install
npm start

πŸ“Œ Future Improvements

βœ”οΈ Enhance RAG model for better retrieval accuracy βœ”οΈ Expand legal compliance checker with more live sources βœ”οΈ Add multilingual support for global adoption βœ”οΈ Optimize query processing for even faster responses

πŸ’‘ Open a pull request or start a discussion if you’d like to contribute! πŸš€

About

An AI-driven, RAG-based conversational assistant designed to optimize document processing, enhance legal compliance, and streamline construction management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors