-
Notifications
You must be signed in to change notification settings - Fork 583
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
修正notebook/C3 搭建知识库/3.数据处理.ipynb之下的langchain代码 #123
Comments
md应该怎么加载,from langchain.document_loaders.markdown import UnstructuredMarkdownLoader,导不进去,有PermissionError,还有nltk的错误 |
有部分同学在第一部分内容碰到过这个问题,可以尝试下方链接的方法解决 |
虽然langchain调整很多,但安装requirements.txt中的包后如下两种方式都可以调用
|
由于
langchain
做了很大调整,将原来的langchain
分割成了langchain、langchain-core
和langchain-community
三个包,因此“PDF”文档部分代码需要安装langchain-community
、PyMuPDF
才可运行,同时应当将代码改为如下:The text was updated successfully, but these errors were encountered: