Skip to content

Commit

Permalink
add logs for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
yjoonjang committed May 7, 2024
1 parent d0d1f28 commit 6d0a9e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resume/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def post(self, request):
for i, ex in enumerate(examples, start=1)
]
)
logging.fatal(examples_str)

# 프롬프트 작성
prompt = GENERATE_SELF_INTRODUCTION_PROMPT.format(
Expand All @@ -196,6 +197,7 @@ def post(self, request):

# 자소서 생성
generated_self_introduction = get_chat_openai(prompt)
logging.fatal(generated_self_introduction)

serializer = PostResumeSerializer(
data={
Expand Down

0 comments on commit 6d0a9e0

Please sign in to comment.