-
Notifications
You must be signed in to change notification settings - Fork 0
AI 답변 평가 기능 구현 #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/3-recommendation-subproject
Are you sure you want to change the base?
AI 답변 평가 기능 구현 #8
Conversation
f-lab-moony
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생 많으셨습니다 ~ 피드백 확인 부탁드려요 ~
|
|
||
| return answerRepository.save(answer); | ||
| answer = answerRepository.save(answer); | ||
| answerRepository.flush(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이건 무슨 역할을 하는걸까요 ?
| private static final double TEMPERATURE = 0.3; | ||
| private static final int MAX_TOKENS = 1000; | ||
|
|
||
| public String evaluateAnswer(Question question, String answerContent) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 메서드 하나에서 하는 일이 너무 많은데 메서드 분리를 통해 정리를 해보면 어떨까요 ?
개요
사용자가 기술 면접 질문에 대한 답변을 제출하면, OpenAI API를 활용하여 자동으로 답변을 평가하고 피드백을 제공하는 기능을 구현했습니다. 사용자 경험 향상을 위해 평가 작업은 비동기로 처리했습니다.
주요 변경사항
1. AI 답변 평가 기능 구현
2. 비동기 처리 도입
3. 도메인 모델 확장
Answer엔티티에evaluation필드 추가