Skip to content

Commit 11deae3

Browse files
WindowGeneratorSergey Chudov
authored andcommitted
Fixed 'IndexError: list index out of range' error in downloading samples step (#106)
1 parent bb3e122 commit 11deae3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ingest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
def ingest_docs():
1111
"""Get documents from web pages."""
12-
loader = ReadTheDocsLoader("langchain.readthedocs.io/en/latest/")
12+
loader = ReadTheDocsLoader("api.python.langchain.com/en/latest/")
1313
raw_documents = loader.load()
1414
text_splitter = RecursiveCharacterTextSplitter(
1515
chunk_size=1000,

ingest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# This involves scraping the data from the web and then cleaning up and putting in Weaviate.
33
# Error if any command fails
44
set -e
5-
wget -r -A.html https://langchain.readthedocs.io/en/latest/
5+
wget -r -A.html https://api.python.langchain.com/en/latest/
66
python3 ingest.py

0 commit comments

Comments
 (0)