A web application for semantic file search built with Next.js, FastAPI, and Chroma DB.
├── frontend/ # Next.js frontend application
└── backend/ # FastAPI backend application
-
Navigate to the backend directory:
cd backend -
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the FastAPI server:
uvicorn main:app --reload
The backend will be available at http://localhost:8000
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Run the development server:
npm run dev
The frontend will be available at http://localhost:3000
- Semantic File Search: Upload files and search them using natural language queries
- Chroma DB Integration: Utilizes Chroma DB for vector storage and semantic search capabilities
- Modern UI: Clean and responsive user interface built with Next.js and Tailwind CSS
GET /: Check if the API is runningPOST /upload: Upload a file for indexingGET /search?query=<search_term>: Search for files using semantic search