-
Notifications
You must be signed in to change notification settings - Fork 13.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'str' object has no attribute 'page_content' #3799
Comments
Please provide working code that can reproduce this issue. |
|
As for me it looks like a bug in that example. |
It worked. Can I create a pull request to fix this issue? |
Merged
Sorry I created it already. |
No problem, Thanks for your help |
dev2049
pushed a commit
that referenced
this issue
May 5, 2023
Fixed the issue mentioned here: #3799 (comment) Co-authored-by: Pawel Faron <ext-pawel.faron@vaisala.com>
Thanks for helpping! |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ofpage_content
andmetadata
, but getting string list as input hereThe text was updated successfully, but these errors were encountered: