# venu-16/ai-interview-assistant architecture

> Architecture diagram of the GitHub repository venu-16/ai-interview-assistant, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/venu-16/ai-interview-assistant
- Repository: https://github.com/venu-16/ai-interview-assistant

## Overview

AI Interview Assistant is a Streamlit app for practicing role-specific interviews. The user provides a job description, receives generated questions, records and submits answers, then reviews per-answer feedback and an overall evaluation. Its single runtime module contains the interface and interview logic; LangGraph structures question and answer workflows, while LangChain/Groq powers AI responses. The README documents audio recording and Groq-backed evaluation, but omitted source sections prevent tracing all audio and model calls precisely.

Main entry points: [`app.py`](https://github.com/venu-16/ai-interview-assistant/blob/main/app.py) (Streamlit app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Interview interface"]
  node_ui["Streamlit app<br/>[app.py]"]
end

subgraph group_stages["Interview stages"]
  node_questions["Question generation<br/>[app.py]"]
  node_audio["Answer recording<br/>[app.py]"]
  node_analysis["Answer analysis<br/>[app.py]"]
  node_feedback["Answer feedback<br/>[app.py]"]
  node_final["Final evaluation<br/>[app.py]"]
end

subgraph group_services["AI services"]
  node_groq["Groq language model"]
end

node_user(("Interviewee"))

node_user -->|"provides input"| node_ui
node_ui -->|"requests questions"| node_questions
node_questions -.->|"generates with"| node_groq
node_ui -->|"records answer"| node_audio
node_audio -.->|"submits answer"| node_analysis
node_ui -->|"calls analysis"| node_analysis
node_ui -->|"requests feedback"| node_feedback
node_ui -->|"requests evaluation"| node_final
node_final -->|"displays results"| node_ui
node_feedback -.->|"evaluates with"| node_groq

click node_ui "https://github.com/venu-16/ai-interview-assistant/blob/main/app.py"
click node_questions "https://github.com/venu-16/ai-interview-assistant/blob/main/app.py"
click node_audio "https://github.com/venu-16/ai-interview-assistant/blob/main/app.py"
click node_analysis "https://github.com/venu-16/ai-interview-assistant/blob/main/app.py"
click node_feedback "https://github.com/venu-16/ai-interview-assistant/blob/main/app.py"
click node_final "https://github.com/venu-16/ai-interview-assistant/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_ui,node_user toneBlue
class node_questions,node_audio,node_analysis,node_feedback,node_final toneAmber
class node_groq toneMint
```

## Components

### Interview interface

- [Streamlit app](https://github.com/venu-16/ai-interview-assistant/blob/main/app.py): `app.py`

### Interview stages

- [Question generation](https://github.com/venu-16/ai-interview-assistant/blob/main/app.py): `app.py`
- [Answer recording](https://github.com/venu-16/ai-interview-assistant/blob/main/app.py): `app.py`
- [Answer analysis](https://github.com/venu-16/ai-interview-assistant/blob/main/app.py): `app.py`
- [Answer feedback](https://github.com/venu-16/ai-interview-assistant/blob/main/app.py): `app.py`
- [Final evaluation](https://github.com/venu-16/ai-interview-assistant/blob/main/app.py): `app.py`

### AI services

- **Groq language model**

### Other components

- **Interviewee**

## Connections

- Interviewee → Streamlit app: provides input (evidence: `README.md`)
- Streamlit app → Question generation: requests questions (evidence: `README.md`)
- Question generation → Groq language model: generates with
- Streamlit app → Answer recording: records answer (evidence: `README.md`)
- Answer recording → Answer analysis: submits answer (evidence: `app.py`)
- Streamlit app → Answer analysis: calls analysis (evidence: `app.py`)
- Streamlit app → Answer feedback: requests feedback (evidence: `app.py`)
- Streamlit app → Final evaluation: requests evaluation (evidence: `app.py`)
- Final evaluation → Streamlit app: displays results (evidence: `app.py`)
- Answer feedback → Groq language model: evaluates with
