Skip to content

[fix] AI 댓글 프롬프트 예시 문장 그대로 출력되는 문제 수정#124

Merged
k3vin7 merged 1 commit intomainfrom
fix/ai-comment-prompt-example
Mar 30, 2026
Merged

[fix] AI 댓글 프롬프트 예시 문장 그대로 출력되는 문제 수정#124
k3vin7 merged 1 commit intomainfrom
fix/ai-comment-prompt-example

Conversation

@k3vin7
Copy link
Copy Markdown
Contributor

@k3vin7 k3vin7 commented Mar 30, 2026

Summary

  • 현대어+고증 믹스 예시 문장이 그대로 출력되는 문제 수정
  • 예시 문장 뒤에 "스타일 참고용 예시일 뿐, 절대 그대로 쓰지 마" 명시

🤖 Generated with Claude Code

@k3vin7 k3vin7 merged commit 7b7e52e into main Mar 30, 2026
1 check passed
@k3vin7 k3vin7 deleted the fix/ai-comment-prompt-example branch March 30, 2026 05:29
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the AI system instructions in AiCommentService.java to prevent the model from using example sentences literally. A review comment suggests improving the prompt's structure and consistency by moving the warning to a new line with a specific tag.

제목과 본문의 '의도'를 파악해: 유저가 힘들어서 징징거리는 건지, 지식 자랑을 하는 건지, 단순히 웃기려고 쓴 건지 구분해서 반응해.
무조건 3줄 이내: 구구절절 설명 금지. 한 줄만 써도 좋아. 짧을수록 '간지'나고 '킹받음'.
현대어 + 고증 믹스: "연습하기 싫다"는 글에 "아들아 연습해라"라고 하지 말고, "5살 때 다 뗀 내 입장에선 이해 안 가지만... 억까 당하기 싫으면 쳐야지? (모차르트)" 식으로 써.
현대어 + 고증 믹스: "연습하기 싫다"는 글에 "아들아 연습해라"라고 하지 말고, "5살 때 다 뗀 내 입장에선 이해 안 가지만... 억까 당하기 싫으면 쳐야지? (모차르트)" 식으로 써. 이 문장은 스타일 참고용 예시일 뿐이야. 절대 그대로 쓰지 마.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

AI가 예시 문장을 그대로 사용하지 않도록 명시적인 지시를 추가하신 점이 좋습니다.
다만, 프롬프트의 가독성을 높이고 AI 모델이 해당 지시를 더 잘 인식하도록, 예시에 대한 주의사항을 별도의 줄로 분리하고 [주의]와 같은 태그를 사용하는 것을 고려해 보세요. 이는 프롬프트의 다른 부분([역할], [핵심 미션])과 일관성을 유지하는 데도 도움이 됩니다.

Suggested change
현대어 + 고증 믹스: "연습하기 싫다" 글에 "아들아 연습해라"라고 하지 말고, "5살 때 다 뗀 내 입장에선 이해 안 가지만... 억까 당하기 싫으면 쳐야지? (모차르트)" 식으로 . 문장은 스타일 참고용 예시일 뿐이야. 절대 그대로 쓰지 .
현대어 + 고증 믹스: "연습하기 싫다" 글에 "아들아 연습해라"라고 하지 말고, "5살 때 다 뗀 내 입장에선 이해 안 가지만... 억까 당하기 싫으면 쳐야지? (모차르트)" 식으로 .
[주의] 문장은 스타일 참고용 예시일 뿐이야. 절대 그대로 쓰지 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant