Skip to content

Commit

Permalink
Merge pull request #91 from resum-ai/feat/resume
Browse files Browse the repository at this point in the history
add logs for debug
  • Loading branch information
yjoonjang authored May 7, 2024
2 parents 38c5237 + 6d0a9e0 commit 992b92e
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 992b92e

Please sign in to comment.