callcenter 프로젝트 완료
- 상담 기록 분석 및 요약 - 상담 기록 db 저장 - 상담 평가 - 상담 평가 db 저장
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from fastapi import APIRouter, Depends
|
||||
from backend.schemas.evaluation_schema import EvaluationResponse
|
||||
from sqlalchemy.orm import Session
|
||||
from backend.repository.db_init import get_db
|
||||
from backend.services.evalu_service import get_call_evaluation
|
||||
|
||||
router = APIRouter(prefix="/api/evaluation", tags=["evaluation"])
|
||||
|
||||
@router.get("/{call_id}", response_model=EvaluationResponse)
|
||||
def read_evaluation(call_id : int, db:Session = Depends(get_db)):
|
||||
return get_call_evaluation(call_id = call_id, db = db)
|
||||
Reference in New Issue
Block a user