dataprincess commited on
Commit
9636641
1 Parent(s): f093d4b

cleared threshold error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def get_response(query: str, docs: list[str]) -> str:
115
  def handle_query(user_query: str):
116
 
117
  # Get relevant documents
118
- docs = get_docs(user_query, top_k=5, threshold=0.66)
119
 
120
  # Generate and return response
121
  response = get_response(user_query, docs=docs)
 
115
  def handle_query(user_query: str):
116
 
117
  # Get relevant documents
118
+ docs = get_docs(user_query, top_k=5)
119
 
120
  # Generate and return response
121
  response = get_response(user_query, docs=docs)