# jpmanikandan/interviewfeedbk architecture

> Architecture diagram of the GitHub repository jpmanikandan/interviewfeedbk, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jpmanikandan/interviewfeedbk
- Repository: https://github.com/jpmanikandan/interviewfeedbk

## Overview

Interviewfeedbk is a Streamlit recruiting tool with two workflows: candidates can complete a resume- and job-description-based interview and receive a report, while recruiters can screen multiple resumes and rank candidates. The app gathers configuration and uploads, extracts PDF text, and invokes the relevant InterviewAgent operation. The agent uses an OpenAI chat model for question generation, report writing, and candidate evaluation. The app maintains interview session state and presents ranked screening results. Relationships shown are grounded in the sampled app.py and agent.py; no persistent data store is evident.

Main entry points: [`app.py`](https://github.com/jpmanikandan/interviewfeedbk/blob/main/app.py) (App UI & Orchestration), [`agent.py`](https://github.com/jpmanikandan/interviewfeedbk/blob/main/agent.py) (Resume Evaluation), [`utils.py`](https://github.com/jpmanikandan/interviewfeedbk/blob/main/utils.py) (PDF Text Extraction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Streamlit App"]
  node_streamlit_app["App UI &amp; Orchestration<br/>[app.py]"]
  node_session["Interview Session State<br/>[app.py]"]
  node_pdf_text["PDF Text Extraction<br/>[utils.py]"]
end

subgraph group_interview["Interview Workflow"]
  node_question["Question Generation<br/>[agent.py]"]
  node_report["Interview Report<br/>[agent.py]"]
  node_openai{{"OpenAI Chat Model"}}
end

subgraph group_screening["Bulk Screening"]
  node_evaluation["Resume Evaluation<br/>[agent.py]"]
  node_rankings["Candidate Rankings<br/>[app.py]"]
end

node_recruiter(("Recruiter / Candidate"))

node_recruiter -->|"uses"| node_streamlit_app
node_streamlit_app -->|"updates"| node_session
node_streamlit_app -->|"extracts text"| node_pdf_text
node_streamlit_app -->|"requests questions"| node_question
node_streamlit_app -->|"requests report"| node_report
node_question -->|"invokes model"| node_openai
node_report -->|"invokes model"| node_openai
node_streamlit_app -->|"evaluates resumes"| node_evaluation
node_evaluation -->|"invokes model"| node_openai
node_streamlit_app -->|"sorts results"| node_rankings
node_pdf_text -->|"provides text"| node_evaluation

click node_streamlit_app "https://github.com/jpmanikandan/interviewfeedbk/blob/main/app.py"
click node_session "https://github.com/jpmanikandan/interviewfeedbk/blob/main/app.py"
click node_pdf_text "https://github.com/jpmanikandan/interviewfeedbk/blob/main/utils.py"
click node_question "https://github.com/jpmanikandan/interviewfeedbk/blob/main/agent.py"
click node_report "https://github.com/jpmanikandan/interviewfeedbk/blob/main/agent.py"
click node_evaluation "https://github.com/jpmanikandan/interviewfeedbk/blob/main/agent.py"
click node_rankings "https://github.com/jpmanikandan/interviewfeedbk/blob/main/app.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_streamlit_app,node_session,node_pdf_text toneBlue
class node_question,node_report,node_openai toneAmber
class node_evaluation,node_rankings toneMint
class node_recruiter toneIndigo
```

## Components

### Streamlit App

- [App UI & Orchestration](https://github.com/jpmanikandan/interviewfeedbk/blob/main/app.py): `app.py`
- [Interview Session State](https://github.com/jpmanikandan/interviewfeedbk/blob/main/app.py): `app.py`
- [PDF Text Extraction](https://github.com/jpmanikandan/interviewfeedbk/blob/main/utils.py): `utils.py`

### Interview Workflow

- [Question Generation](https://github.com/jpmanikandan/interviewfeedbk/blob/main/agent.py): `agent.py`
- [Interview Report](https://github.com/jpmanikandan/interviewfeedbk/blob/main/agent.py): `agent.py`
- **OpenAI Chat Model**

### Bulk Screening

- [Resume Evaluation](https://github.com/jpmanikandan/interviewfeedbk/blob/main/agent.py): `agent.py`
- [Candidate Rankings](https://github.com/jpmanikandan/interviewfeedbk/blob/main/app.py): `app.py`

### Other components

- **Recruiter / Candidate**

## Connections

- Recruiter / Candidate → App UI & Orchestration: uses (evidence: `app.py`)
- App UI & Orchestration → Interview Session State: updates (evidence: `app.py`)
- App UI & Orchestration → PDF Text Extraction: extracts text (evidence: `app.py`)
- App UI & Orchestration → Question Generation: requests questions (evidence: `app.py`)
- App UI & Orchestration → Interview Report: requests report (evidence: `app.py`)
- Question Generation → OpenAI Chat Model: invokes model (evidence: `agent.py`)
- Interview Report → OpenAI Chat Model: invokes model (evidence: `agent.py`)
- App UI & Orchestration → Resume Evaluation: evaluates resumes (evidence: `app.py`)
- Resume Evaluation → OpenAI Chat Model: invokes model (evidence: `agent.py`)
- App UI & Orchestration → Candidate Rankings: sorts results (evidence: `app.py`)
- PDF Text Extraction → Resume Evaluation: provides text (evidence: `app.py`)
