anishde commited on
Commit
62d740e
·
verified ·
1 Parent(s): f2f74a0

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.9
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 = 0.8
53
 
54
 
55
  if score > threshold: