soribom
Tables (6)
Alert (알림)
- id (PK) — int — Primary key — NOT NULL
- id (FK) — int — Foreign key → Broadcast.id — NOT NULL
- session_id (FK2) — int — Foreign key → Broadcast.session_id — NOT NULL
- keyword_id (FK3) — int
- detected_at (감지된 시각) — datetime
AudioChunk (10초 단위 녹음 파일)
- id (PK) — int — Primary key — NOT NULL
- session_id (FK) — int — Foreign key → Session.id — NOT NULL
- broadcast_id (FK2) — int — Foreign key → Broadcast.id — NOT NULL
- file_path (원본 오디오 파일 경로) — varchar
- cleaned_path (노이즈 제거 후 파일 경로) — varchar
- duration (오디오 길이 (초)) — float
- status (청크 처리 상태 (Pending / Processing / Complete)) — varchar
- created_at (업로드 시각) — datetime
Broadcast (안내방송 인식 결과)
- id (PK) — int — Primary key — NOT NULL
- session_id (FK) — int — Foreign key → Session.id — NOT NULL
- full_text (stt 변환된 안내방송 텍스트) — text
- summary (LLM 요약 결과) — text
- confidence_avg (평균 인식 정확도) — float
- start_time (방송 시작 시각) — datetime
- end_time (방송 종료 시각) — datetime
- created_at (방송 인식 완료 시각) — datetime
Keyword (키워드)
- id (PK) — int — Primary key — NOT NULL
- session_id (FK) — int — Foreign key → Session.id — NOT NULL
- word (UNIQUE(session, word)) — varchar
- created_at (등록 시각) — datetime
Session (세션)
- id (PK) — int — Primary key — NOT NULL
- status (세션 상태 (Recording / progressing / complete/ expired)) — varchar
- created_at (세션 생성 시각) — datetime
- expired_at (세션 만료 시각) — datetime
- ended_at (세션 종료 시각) — datetime
Transcript (Untitled6)
- id (PK) — int — Primary key — NOT NULL
- session_id (FK) — int — Foreign key → Session.id — NOT NULL
- summary (세션 전체 요약 텍스트) — text
- full_text (전체 안내방송 텍스트) — text
- timeline (시간 순서별 인식 내역) — json
- total_broadcasts (총 방송 개수) — int
- total_keywords (감지된 키워드 총합) — int
- accuracy_avg (평균 정확도) — float
- created_at (생성 시각) — datetime