Skip to content

Commit

Permalink
update: prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
xncbf committed Nov 15, 2023
1 parent c21070d commit 19affb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bots/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ async def on_message_activity(self, turn_context: TurnContext):
await turn_context.send_activity(ai_generated)
elif ai_parsed_category and ai_parsed_category["category"] == 98:
# 그 외 질문/요청
ai_generated = await openai_helper.gen_answer(turn_context.activity.text)
await turn_context.send_activity(
ai_generated = await openai_helper.gen_answer(
f"""
사용자 입력에 대해 최대한 짧게 답변
사용자 입력: {ai_generated}"""
사용자 입력: {turn_context.activity.text}"""
)
await turn_context.send_activity(ai_generated)
elif ai_parsed_category and ai_parsed_category["category"] == 99:
# 로그아웃
self.conversation_state.create_property("DialogState")
Expand Down

0 comments on commit 19affb9

Please sign in to comment.