callcenter 프로젝트 완료
- 상담 기록 분석 및 요약 - 상담 기록 db 저장 - 상담 평가 - 상담 평가 db 저장
This commit is contained in:
@@ -27,4 +27,27 @@ class CallHistory(Base):
|
||||
customer_issue:Mapped[str]
|
||||
resolution:Mapped[str]
|
||||
# created_at:Mapped[datetime] = mapped_column(server_default=func.now(), nullable=False)
|
||||
created_at:Mapped[datetime] = mapped_column(default=datetime.now, nullable=False)
|
||||
created_at:Mapped[datetime] = mapped_column(default=datetime.now, nullable=False)
|
||||
|
||||
# 상담 평가 저장
|
||||
class CallEvaluation(Base):
|
||||
__tablename__ = 'call_evaluation'
|
||||
|
||||
evaluation_id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
|
||||
call_id: Mapped[int] = mapped_column(ForeignKey('call_history.call_id'))
|
||||
|
||||
# 평가 기준
|
||||
# 고객 신원 확인
|
||||
identity_verification:Mapped[bool] = mapped_column(default=False)
|
||||
identity_verification_reason:Mapped[str]
|
||||
# 공감 표현
|
||||
empathy:Mapped[bool] = mapped_column(default=False)
|
||||
empathy_reason:Mapped[str]
|
||||
# 문제 해결
|
||||
issue_resolution:Mapped[bool] = mapped_column(default=False)
|
||||
issue_resolution_reason:Mapped[str]
|
||||
# 설문 조사 안내
|
||||
survey_guidance:Mapped[bool] = mapped_column(default=False)
|
||||
survey_guidance_reason:Mapped[str]
|
||||
score:Mapped[int]
|
||||
created_at:Mapped[datetime] = mapped_column(default=datetime.now, nullable=False)
|
||||
|
||||
Reference in New Issue
Block a user