LincolnBot - AI-Powered Parking Information Assistant
๐ฏ Project Overview
LincolnBot is an intelligent assistant designed to help users find accurate information about parking rules, permits, and penalties in Lincoln City. By combining semantic search capabilities with advanced language models, it provides contextually relevant and accurate responses to user queries.
๐๏ธ System Architecture
The system follows a three-layer architecture:
-
Embedding Layer:
- Processes and vectorizes text data
- Uses SentenceTransformers for semantic understanding
- Optimized for parking-related content
-
Search Layer:
- Performs semantic search with ChromaDB
- Implements re-ranking for better relevance
- Utilizes Redis caching for performance
-
Generative Layer:
- Generates natural language responses using GPT-4
- Ensures context-aware and accurate answers
- Validates responses for completeness
๐ Quick Start
Prerequisites
- Python 3.9+
- Redis server
- OpenAI API key
- 2GB+ RAM for embedding models
Installation Steps
- Clone the Repository:
git clone https://github.com/vaibhavcssbb/LincolnBot.git
cd LincolnBot
- Create and Activate Virtual Environment:
# On macOS/Linux
python -m venv venv
source venv/bin/activate
# On Windows
python -m venv venv
venv\Scripts\activate
- Install Dependencies:
pip install -r requirements.txt
- Configure Environment Variables: