File size: 1,069 Bytes
0163bdc
46f8dfe
41604f6
 
 
227e456
5d095b2
41604f6
0163bdc
41604f6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
title: Codingo
emoji: 🤖
colorFrom: indigo
colorTo: blue
sdk: docker
app_file: app.py
pinned: false
---

# Codingo — AI-Powered Smart Recruitment System

A Flask web app where companies post jobs and candidates apply, then an AI
interviewer ("LUNA") conducts an automated voice interview and scores the
candidate.

## Required Space secrets

Set these under **Settings → Variables and secrets**:

| Secret | Purpose |
| --- | --- |
| `GROQ_API_KEY` | LLM that generates interview questions and chatbot replies |
| `QDRANT_API_URL` | URL of the Qdrant cluster holding the interview questions |
| `QDRANT_API_KEY` | API key for that Qdrant cluster |
| `DATABASE_URL` | *(optional)* Postgres URL; if unset, the app uses SQLite in /tmp |

## Rebuilding the interview-question vector database

The `interview_questions` Qdrant collection is built from
`data/shuffled_questions.json` (4233 Q&A pairs, all-MiniLM-L6-v2, 384-dim,
cosine):

```bash
export QDRANT_API_URL="https://<cluster>.qdrant.io"
export QDRANT_API_KEY="<key>"
python scripts/rebuild_qdrant.py
```