PDF and SQLite Chat Application (Watch the app in action)
This full-stack application allows users to chat with PDF content and SQLite database information simultaneously using natural language queries.
The application follows a client-server architecture:
- Frontend: React/Next.js application for user interface
- Backend: FastAPI server handling API requests, database queries, and PDF processing
- Database: SQLite for storing survey data
- PDF Storage: Local server directory or cloud storage (e.g., AWS S3)
- NLP Model: OpenAI API or open-source alternative for natural language processing
Key components:
app/
: Next.js page componentscomponents/
: Reusable React components (e.g., ChatWindow, PDFUploader)api/
: API client for communicating with the backend