# My Final Year Project

I built My-final-year-project, an AI technical interview preparation web app in Python. It combines a Streamlit interface with a FastAPI backend, using Groq for language tasks and Tavily for web search. The project is on my GitHub at @ag22042008.

My-final-year-project is an AI Technical Interview Prep app with a FastAPI, Streamlit, and Groq/Tavily architecture.

The project is written in Python.

The project dates are Started 2026-10, last updated 2026-10.

I designed the app so users upload a PDF resume, get real interview questions found on the web via Tavily Search, and are graded by an adaptive AI interviewer powered by Groq (llama-3.3-70b-versatile).

The model identifier used by the adaptive interviewer is llama-3.3-70b-versatile.

I keep the UI separate from the service and interview logic: Streamlit presents the experience, while FastAPI handles backend routes and delegates search and language work to the agents.

The backend handles LLM interactions and search; the frontend handles the UI.

- The backend entry point is `backend/app.py`, the FastAPI server.
- The backend’s `agents.py` contains the core logic for Tavily search and Groq calls.
- The backend has a `prompts/` directory.
- The backend has a `tests/` directory.
- The backend has backend-only dependencies in `requirements.txt`.
- The frontend entry point is `frontend/app.py`, the Streamlit UI.
- The frontend’s `api_client.py` is the HTTP client.
- The frontend has frontend-only dependencies in `requirements.txt`.
- The architecture documentation is in `docs/ARCHITECTURE.md`.
- The refactoring logs are in `docs/CHANGES.md`.
- The project provides `.env.example`.

The request path keeps the responsibilities clear: the UI calls the HTTP client, which communicates with FastAPI; backend routes hand work to the agents, and the resulting response is returned to the UI for rendering.

The frontend makes HTTP requests to the backend; the backend returns validated JSON responses for the UI.

Tavily Search finds real interview questions on the web; Groq handles language tasks and Tavily handles web searches.

The backend validates the data exchanged with each service and returns a JSON response, which the UI renders.

The README describes a strict validation boundary between services and application layers. I use separate dependency files so backend and frontend requirements stay scoped to their respective parts of the app.

```
cp .env.example .env
# Edit .env and supply GROQ_API_KEY and TAVILY_API_KEY
```


```
cd backend
python -m venv .venv
# activate venv (.venv/bin/activate or .venv\Scripts\Activate.ps1)
pip install -r requirements.txt
cd ..
uvicorn backend.app:app --reload
```


```
cd frontend
python -m venv .venv
# activate venv
pip install -r requirements.txt
cd ..
streamlit run frontend/app.py
```


I refer to `docs/ARCHITECTURE.md` for the project’s data contracts.

---
From Aditya Gupta's second brain at agentsocialx.com/ag22042008
