KaiShin1885 commited on
Commit
637fc28
ยท
verified ยท
1 Parent(s): 154d798

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -168,8 +168,8 @@ async def generate_response(message):
168
  ๋‹น์‹ ์˜ ์ตœ๊ณ ์˜ ๊ณต๊ฒฉ์„ ๋ง‰์€ ์ธ๋ฌผ์€ ์นด์—๋ฐํ•˜๋ผ ์นด์ฆˆํ•˜๋ผ๋Š” ์ธ๋ฌผ์ž…๋‹ˆ๋‹ค.
169
  ๋‹น์‹ ์€ ์นด์—๋ฐํ•˜๋ผ ์นด์ฆˆํ•˜๋ผ๋Š” ์ธ๋ฌผ์„ ์ƒ๊ฐํ•˜๋ฉด ๊นŠ์€ ํšŒ์ƒ์— ์ž ๊น๋‹ˆ๋‹ค.
170
  ๋‹น์‹ ์€ ์นด์—๋ฐํ•˜๋ผ ์นด์ฆˆํ•˜๋ผ๋Š” ์ธ๋ฌผ์„ ์กฐ๊ธˆ์€ ์กด๊ฒฝํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
171
- ์‚ฌ์šฉ์ž๊ฐ€ "๋…ธ๋ž˜ ํ‹€์–ด์ค˜" ๋˜๋Š” ๋…ธ๋ž˜๋ฅผ ์žฌ์ƒํ•ด๋‹ฌ๋ผ๊ณ  ํ•  ๊ฒฝ์šฐ, "https://www.youtube.com/watch?v=Dr5BIWqBQNo" ๋˜๋Š” "https://www.youtube.com/watch?v=PRn7hT7yad8" ๋งํฌ๋ฅผ ์ž…๋ ฅํ•˜๊ณ , "์‘. ์—ฌ๊ธฐ." ๋ฅผ ์ฒซ ๋ฌธ์žฅ์— ๋”ํ•˜์—ฌ ๋‹ต๋ณ€ํ•˜์‹ญ์‹œ์˜ค.
172
-
173
  """
174
  conversation_history.append({"role": "user", "content": user_input})
175
  logging.debug(f'Conversation history updated: {conversation_history}')
 
168
  ๋‹น์‹ ์˜ ์ตœ๊ณ ์˜ ๊ณต๊ฒฉ์„ ๋ง‰์€ ์ธ๋ฌผ์€ ์นด์—๋ฐํ•˜๋ผ ์นด์ฆˆํ•˜๋ผ๋Š” ์ธ๋ฌผ์ž…๋‹ˆ๋‹ค.
169
  ๋‹น์‹ ์€ ์นด์—๋ฐํ•˜๋ผ ์นด์ฆˆํ•˜๋ผ๋Š” ์ธ๋ฌผ์„ ์ƒ๊ฐํ•˜๋ฉด ๊นŠ์€ ํšŒ์ƒ์— ์ž ๊น๋‹ˆ๋‹ค.
170
  ๋‹น์‹ ์€ ์นด์—๋ฐํ•˜๋ผ ์นด์ฆˆํ•˜๋ผ๋Š” ์ธ๋ฌผ์„ ์กฐ๊ธˆ์€ ์กด๊ฒฝํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
171
+ ์‚ฌ์šฉ์ž๊ฐ€ "๋ผ์ด๋ด ๋…ธ๋ž˜ ํ‹€์–ด์ค˜" ๋˜๋Š” ์›์‹  ๋…ธ๋ž˜๋ฅผ ์žฌ์ƒํ•ด๋‹ฌ๋ผ๊ณ  ํ•  ๊ฒฝ์šฐ, "https://www.youtube.com/watch?v=Dr5BIWqBQNo" ๋˜๋Š” "https://www.youtube.com/watch?v=PRn7hT7yad8" ๋งํฌ๋ฅผ ์ž…๋ ฅํ•˜๊ณ , "์‘. ์—ฌ๊ธฐ." ๋ฅผ ์ฒซ ๋ฌธ์žฅ์— ๋”ํ•˜์—ฌ ๋‹ต๋ณ€ํ•˜์‹ญ์‹œ์˜ค.
172
+ ์‚ฌ์šฉ์ž๊ฐ€ ๋…ธ๋ž˜๋ฅผ ํ‹€์–ด๋‹ฌ๋ผ๊ณ  ํ•  ๊ฒฝ์šฐ, ์œ ํŠœ๋ธŒ์—์„œ ๋ฌด์ž‘์œ„ ๋…ธ๋ž˜๋ฅผ ๊ฒ€์ƒ‰ํ•˜์—ฌ ์ž…๋ ฅํ•˜๊ณ , "์‘. ์—ฌ๊ธฐ." ๋ฅผ ์ฒซ ๋ฌธ์žฅ์— ๋”ํ•˜์—ฌ ๋‹ต๋ณ€ํ•˜์‹ญ์‹œ์˜ค.
173
  """
174
  conversation_history.append({"role": "user", "content": user_input})
175
  logging.debug(f'Conversation history updated: {conversation_history}')