Skip to content

Commit

Permalink
Merge pull request #76 from logan-markewich/logan/update_paths
Browse files Browse the repository at this point in the history
Update data path in RAG LlamaIndex Notebook
  • Loading branch information
merveenoyan committed May 7, 2024
2 parents a2d4bcc + f59499a commit ddf9e89
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions notebooks/en/rag_llamaindex_librarian.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@
"metadata": {},
"outputs": [],
"source": [
"!mkdir -p \".test/library/jane-austen\"\n",
"!mkdir -p \".test/library/victor-hugo\"\n",
"!wget https://www.gutenberg.org/ebooks/1342.epub.noimages -O \".test/library/jane-austen/pride-and-prejudice.epub\"\n",
"!wget https://www.gutenberg.org/ebooks/135.epub.noimages -O \".test/library/victor-hugo/les-miserables.epub\""
"!mkdir -p \"./test/library/jane-austen\"\n",
"!mkdir -p \"./test/library/victor-hugo\"\n",
"!wget https://www.gutenberg.org/ebooks/1342.epub.noimages -O \"./test/library/jane-austen/pride-and-prejudice.epub\"\n",
"!wget https://www.gutenberg.org/ebooks/135.epub.noimages -O \"./test/library/victor-hugo/les-miserables.epub\""
]
},
{
Expand Down Expand Up @@ -150,7 +150,7 @@
"from llama_index.core import SimpleDirectoryReader\n",
"\n",
"loader = SimpleDirectoryReader(\n",
" input_dir=\"./.test/\",\n",
" input_dir=\"./test/\",\n",
" recursive=True,\n",
" required_exts=[\".epub\"],\n",
")\n",
Expand Down

0 comments on commit ddf9e89

Please sign in to comment.