callcenter 프로젝트 완료

- 상담 기록 분석 및 요약
- 상담 기록 db 저장
- 상담 평가
- 상담 평가 db 저장
This commit is contained in:
2026-06-18 13:13:31 +09:00
parent b0503baac5
commit 5f5edb1e6d
20 changed files with 288 additions and 15 deletions
@@ -0,0 +1,8 @@
from pydantic import BaseModel
class AssistantRequest(BaseModel):
customer_id: int
question: str
class AssistantResponse(BaseModel):
answer: str
@@ -0,0 +1,14 @@
from pydantic import BaseModel
from datetime import datetime
class EvaluationResponse(BaseModel):
identity_verification:bool
identity_verification_reason:str
empathy:bool
empathy_reason:str
issue_resolution:bool
issue_resolution_reason:str
survey_guidance:bool
survey_guidance_reason:str
score: int
created_at: datetime
@@ -25,4 +25,15 @@ class CallCreate(BaseModel):
category: str
sentiment: str
customer_issue: str
resolution: str
resolution: str
# 평가 스키마
class CallEvaluationResponse(BaseModel):
identity_verification:bool
identity_verification_reason:str
empathy:bool
empathy_reason:str
issue_resolution:bool
issue_resolution_reason:str
survey_guidance:bool
survey_guidance_reason:str