Update app.py
Browse files
app.py
CHANGED
@@ -1212,13 +1212,13 @@ def chat_or_recommend(req: ChatOrRecommendRequest):
|
|
1212 |
"score": round(score, 4)
|
1213 |
})
|
1214 |
# β λΆλλ¬μ΄ λνμ²΄λ‘ κ°κ³΅
|
1215 |
-
response_text = "λΉμ μ μν λ§μΆ€ μΆμ²μ κ°μ Έμμ΄μ!
|
1216 |
for i, (item, score) in enumerate(top_items, start=1):
|
1217 |
response_text += (
|
1218 |
f"{i}. **{item['title']}**\n"
|
1219 |
f" - {item['desc']}\n"
|
1220 |
)
|
1221 |
-
response_text += "
|
1222 |
return {
|
1223 |
"mode": "recommend",
|
1224 |
"recommendations": results,
|
|
|
1212 |
"score": round(score, 4)
|
1213 |
})
|
1214 |
# β λΆλλ¬μ΄ λνμ²΄λ‘ κ°κ³΅
|
1215 |
+
response_text = "λΉμ μ μν λ§μΆ€ μΆμ²μ κ°μ Έμμ΄μ! βΊοΈ"
|
1216 |
for i, (item, score) in enumerate(top_items, start=1):
|
1217 |
response_text += (
|
1218 |
f"{i}. **{item['title']}**\n"
|
1219 |
f" - {item['desc']}\n"
|
1220 |
)
|
1221 |
+
response_text += "μ΄ μ€μμ μ΄λ€ νλμ΄ κ°μ₯ λ리μλμ? π"
|
1222 |
return {
|
1223 |
"mode": "recommend",
|
1224 |
"recommendations": results,
|