langchain
langchain copied to clipboard
AttributeError: 'str' object has no attribute 'page_content'
https://python.langchain.com/en/latest/use_cases/question_answering/semantic-search-over-chat.html
https://github.com/hwchase17/langchain/blob/master/docs/use_cases/question_answering/semantic-search-over-chat.ipynb
Apparently, split_documents
function's input need to have attributes of page_content
and metadata
, but getting string list as input here