Hubermanbot2 / Rag /error_log.txt
Nightwing11's picture
Upload 18 files
a6a76ee
raw
history blame
489 Bytes
Traceback (most recent call last):
File "/home/nightwing/Codes/Xyzbot/Rag/chunking.py", line 52, in split_text_to_chunks
chunks = text_splitter.split_documents(docs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/nightwing/anaconda3/envs/xyzbot/lib/python3.11/site-packages/langchain_text_splitters/base.py", line 94, in split_documents
texts.append(doc.page_content)
^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'page_content'