Ralqasimi commited on
Commit
4b151ce
·
verified ·
1 Parent(s): aa7ef94

Update knowledge_base.py

Browse files
Files changed (1) hide show
  1. knowledge_base.py +1 -1
knowledge_base.py CHANGED
@@ -32,7 +32,7 @@ def create_faiss_index(texts):
32
  return index, texts
33
 
34
  # Search the FAISS index
35
- def search_faiss(faiss_index, stored_texts, query, top_k=3):
36
  """
37
  Search FAISS for the most relevant texts.
38
  """
 
32
  return index, texts
33
 
34
  # Search the FAISS index
35
+ def search_faiss(faiss_index, stored_texts, query, top_k=3):
36
  """
37
  Search FAISS for the most relevant texts.
38
  """