From 6d0a9e0170cd6877820f7c5e4aefade58c09c696 Mon Sep 17 00:00:00 2001 From: yjoonjang Date: Tue, 7 May 2024 16:23:23 +0900 Subject: [PATCH] add logs for debug --- resume/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resume/views.py b/resume/views.py index f9682ae..44a74e8 100644 --- a/resume/views.py +++ b/resume/views.py @@ -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( @@ -196,6 +197,7 @@ def post(self, request): # 자소서 생성 generated_self_introduction = get_chat_openai(prompt) + logging.fatal(generated_self_introduction) serializer = PostResumeSerializer( data={