fix
This commit is contained in:
@@ -87,6 +87,11 @@ class Chatbot:
|
||||
|
||||
def _extract_text_from_docs(self, docs):
|
||||
"""Extract text content from document objects."""
|
||||
|
||||
|
||||
print(docs)
|
||||
|
||||
|
||||
return [self.clean_text(doc.page_content) for doc in docs]
|
||||
# Existing methods...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user