sofzcc commited on
Commit
28a7b6f
·
verified ·
1 Parent(s): 9207c22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -433,7 +433,7 @@ class RAGIndex:
433
  )
434
 
435
  # 1) Retrieve relevant contexts
436
- contexts = self.retrieve(question, top_k=3)
437
 
438
  if not contexts:
439
  return (
 
433
  )
434
 
435
  # 1) Retrieve relevant contexts
436
+ contexts = self.retrieve(question, top_k=1)
437
 
438
  if not contexts:
439
  return (