We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b337df commit c91fb1bCopy full SHA for c91fb1b
1 file changed
src/chatbot.py
@@ -292,7 +292,7 @@ def chat_with_llm(datasets, custom_prompt=None):
292
print_log(f'JSON: {result["json"]}')
293
print_log(f'응답: {result["response"]}')
294
295
- if custom_prompt != MEDICINE_NOTIFICATION_PROMPT:
+ if custom_prompt != MEDICINE_NOTIFICATION_PROMPT and custom_prompt != INTENT_INFERENCE_PROMPT:
296
json_data = safe_json_load(result["json"])
297
if json_data is None:
298
print_log("JSON이 None이므로 파싱 실패!", 'error')
0 commit comments