[Refactor/#59] open ai 프롬프트 수정 및 모델 변경#60
Merged
Conversation
중복 토큰을 방지하기 위해 frequency_penalty를 추가
- GPT 모델을 'gpt-4o-mini'로 변경 - frequency_penalty=0.7 적용 → 반복 억제를 통해 더 다양한 퀴즈 생성 - system 프롬프트에 우선 규칙 명시 - 난이도별 키워드 추가로 퀴즈 난이도 구분을 명확화
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ 체크 리스트
📌관련 이슈 번호
💡작업 내용
3.5-turbo에서 업그레이드 버전인4o-mini로 변경했습니다.temperature=0.7: 형식과 규칙을 따르면서 퀴즈의 다양성을 놓치지 않기 위해 해당 값으로 설정frequency_penalty=0.7: 비슷한 질문을 계속 생성하는 것을 막기 위해 해당 값으로 설정system프롬프트로 분리user프롬프트에서system프롬프트에로 분리하여 우선적으로 적용되도록 하였습니다.user프롬프트는 퀴즈 요구사항(주제, 난이도, 개수, 참고사항)만 들어가게 됩니다.👤 리뷰 요구사항(선택)
난이도별 퀴즈 생성에 참고하는 키워드가 적절한지 확인 바랍니다.
📚참고 문서(선택)