Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def call_gemini_api(question):
|
|
| 33 |
print(f"API ํธ์ถ ์ค ์ค๋ฅ ๋ฐ์: {e}")
|
| 34 |
return f"์ฃ์กํฉ๋๋ค. API ํธ์ถ ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค: {e}"
|
| 35 |
|
| 36 |
-
COSINE_SIMILARITY_THRESHOLD = 0.
|
| 37 |
|
| 38 |
def chatbot(user_question):
|
| 39 |
try:
|
|
|
|
| 33 |
print(f"API ํธ์ถ ์ค ์ค๋ฅ ๋ฐ์: {e}")
|
| 34 |
return f"์ฃ์กํฉ๋๋ค. API ํธ์ถ ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค: {e}"
|
| 35 |
|
| 36 |
+
COSINE_SIMILARITY_THRESHOLD = 0.7
|
| 37 |
|
| 38 |
def chatbot(user_question):
|
| 39 |
try:
|