Subha95 commited on
Commit
d699539
·
verified ·
1 Parent(s): 96a7c81

Update chatbot_rag.py

Browse files
Files changed (1) hide show
  1. chatbot_rag.py +1 -1
chatbot_rag.py CHANGED
@@ -95,7 +95,7 @@ def build_qa():
95
 
96
  # 6. Helper functions
97
  def format_docs(docs):
98
- """Join document contents into a single string, skipping empty ones."""
99
  texts = []
100
  for doc in docs:
101
  if doc.page_content and isinstance(doc.page_content, str):
 
95
 
96
  # 6. Helper functions
97
  def format_docs(docs):
98
+ """Join document contents into a single string, skipping empty ones."""
99
  texts = []
100
  for doc in docs:
101
  if doc.page_content and isinstance(doc.page_content, str):