LLM-Based Business Chat & Data Validation System is an AI-powered platform that automates the verification of business information and allows users to interactively query the validated data using a Fine-Tuned GPT-4 Turbo chatbot. The system is designed to ensure accurate business information through automated validation and conversational insights.
We fine-tuned GPT-4 Turbo using a custom dataset containing business information like name, address, website, phone numbers, and reviews. The model was fine-tuned to:
Component | Technology |
---|---|
Frontend | Streamlit |
Backend | Python + FastAPI |
Database | Neon PostgreSQL |
AI Model | GPT-4 Turbo (Fine-Tuned) |
Libraries | pandas, psycopg2, dotenv, streamlit |
Hosting | Streamlit Cloud |
LLM API | OpenAI API |
git clone https://github.com/your-repo/llm-business-chat.git cd llm-business-chat
pip install -r requirements.txt
Create a .env
file and add the following keys:
OPENAI_API_KEY=your_openai_api_key NEON_DB_URL=your_postgresql_url
streamlit run app.py
āāā app.py # Streamlit App
āāā llm.py # LLM Validation Logic
āāā neon.py # PostgreSQL DB Connection
āāā .env # Environment Variables
āāā requirements.txt # Dependencies
āāā README.md # Documentation
Endpoint | Method | Description |
---|---|---|
/validate | POST | Validate Business Data |
/chat | POST | Chat with Verified Data |
/fetch | GET | Fetch Verified Data |
Name | Address | Website | Phone Number | Reviews | Rating | Latitude | Longitude |
---|---|---|---|---|---|---|---|
Kumar Electronics | Boring Road | kumarelectronics.in | 0987654321 | 45 | 4.2 | 25.6093 | 85.1234 |
Royal Bakery | Rajendra Nagar | royalbakerypatna.com | 0934567890 | 120 | 4.7 | 25.6200 | 85.1450 |
This project is licensed under the MIT License.
Contributions are welcome! Please create an issue or submit a pull request.
Kumar Mayank
Email: krmayank2002@gmail.com
LinkedIn: Kumar Mayank