anishde commited on
Commit
d91d49d
1 Parent(s): fae09d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def generate_response(history, query):
49
  doc = (db.similarity_search_with_score(query))
50
  score=doc[0][-1]
51
  doc = doc[0][:-1]
52
- threshold = 0.7
53
 
54
 
55
  if score > threshold:
 
49
  doc = (db.similarity_search_with_score(query))
50
  score=doc[0][-1]
51
  doc = doc[0][:-1]
52
+ threshold = 1
53
 
54
 
55
  if score > threshold: