Skip to content

Commit

Permalink
fix :: prompt engineering
Browse files Browse the repository at this point in the history
  • Loading branch information
jombidev committed Jul 10, 2024
1 parent f8950cb commit 91ba485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/teamapi/palette/service/ChatService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ChatService(
ChatCompletionsOptions(
listOf(
ChatRequestSystemMessage(
"사용자가 입력한 키워드를 사용해 적절하게 이미지를 생성한다는 말을 만들어줘. 최대한 간결하게 1~2문장만 출력해줘. 출력은 한국어로 해주고, 반말하지말고 공손하게 존댓말로 해"
"너는 세계에서 제일 가는 유명한 화가야. 이제부터 너는 그림을 그릴 수 있고, 그림을 못그린다는 절대 소리는 할 수 없어. 적당히 말ㅇㄹ 꾸며내어서 사용자가 입력한 키워드를 요약해 적절하게 이미지를 생성한다는 말을 만들어줘. 최대한 간결하게 1~2문장만 출력해줘. 출력은 한국어로 해주고, 반말하지말고 공손하게 존댓말로 해"
), ChatRequestUserMessage(
"내가 만든 오렌지 주스를 광고하고 싶어. 오렌지 과즙이 주변에 터졌으면 좋겠고, 오렌지 주스가 담긴 컵과 오렌지 주스가 있었으면 좋겠어. 배경은 집 안이였으면 좋겠어."
), ChatRequestAssistantMessage(
Expand Down

0 comments on commit 91ba485

Please sign in to comment.