Comments (4)
Hello @christy ! The issue has been successfully resolved. I appreciate your prompt assistance in this matter. Thank you.
from bootcamp.
Hey D-aisukeY-oshida! Thank you for the bug report! I notice you're running Langchain 0.1.5. I was running 0.1.0. I'll upgrade and look into it.
from bootcamp.
I just re-ran and I see I missed a pip install unstructured, from langchain.document_loaders import DirectoryLoader requires module unstructured. I jut did !pip install unstructured
and the code works.
Meantime, I'll add another try..except in case there are no h1 or h2 headers.
I'll add unstructured into the Line1 pip installs too.
![image](https://private-user-images.githubusercontent.com/94918/302473030-6d18ac21-65cd-4455-bba0-8988fa9a87bc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNTYyMjksIm5iZiI6MTcxODA1NTkyOSwicGF0aCI6Ii85NDkxOC8zMDI0NzMwMzAtNmQxOGFjMjEtNjVjZC00NDU1LWJiYTAtODk4OGZhOWE4N2JjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDIxNDUyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxM2YxYjAwM2M3MTgyNGMyMzhkZmMzYmZiMjA5ZTkzZjhlMjhlYzM0NjA1NTc3YzYyYWU5ZDQ2YTFkY2Y1NTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.VStvx0NEpSrHb3HOOWGvayDTJMoRtXXkkQgQC8DMwyA)
from bootcamp.
Pushed #1260
from bootcamp.
Related Issues (20)
- 在 图片检索demo中,为什么用另外做个mysql来存储图片路径呢
- [BUG]: wechat group image can not ues
- Columns and DataType Not Explicitly Set on line 13 of load.py
- [BUG]: reverse_image_search图片多了就不能写入数据库 HOT 1
- 启动报错 是网络问题吗 HOT 1
- [BUG]: Error in chunking document in RAG demo "In[7]" HOT 1
- Cannot use annotations/citations as CONTEXT HOT 3
- def test_connection(self): try: self.conn.ping() except Exception: self.conn = pymysql.connect(host=MYSQL_HOST, user=MYSQL_USER, port=MYSQL_PORT, password=MYSQL_PWD, database=MYSQL_DB,local_infile=True) self.cursor = self.conn.cursor()[FEATURE]: HOT 3
- [BUG]: 如何支持中文 HOT 3
- 这个仓库历史上已经有了3版本图搜图的代码,哪个版本的效果会好点,区别是什么? HOT 6
- [BUG]: ModuleNotFoundError: No module named 'milvus_utilities' HOT 1
- [BUG]: 'SequenceIterator' object is not iterable in file recommender_system.ipynb
- [BUG]: Logic error on the last batch insert in file recommender_system.ipynb
- [FEATURE]: Data loading and storage issues in image search HOT 1
- [FEATURE]: There are doubts about the search framework using images HOT 1
- [FEATURE]: Have you seen a blog post that raises some questions about the current search for images published by GitHub? HOT 1
- [FEATURE]: 小白提问:前端展示页面的文件是哪个? HOT 1
- [FEATURE]: May I ask which file is on the front-end page of the file in this path? HOT 1
- [FEATURE]: What file is the front-end page design for image search HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootcamp.