Fixed bug with path check
This commit is contained in:
@@ -77,8 +77,9 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# Read in documents using LangChain's loaders\n",
|
"# Read in documents using LangChain's loaders\n",
|
||||||
"# Take everything in all the sub-folders of our knowledgebase\n",
|
"# Take everything in all the sub-folders of our knowledgebase\n",
|
||||||
|
"# Thank you Mark D. and Zoya H. for fixing a bug here..\n",
|
||||||
"\n",
|
"\n",
|
||||||
"folders = glob.glob(\"knowledge-base/*/\")\n",
|
"folders = glob.glob(\"knowledge-base/*\")\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# With thanks to CG and Jon R, students on the course, for this fix needed for some users \n",
|
"# With thanks to CG and Jon R, students on the course, for this fix needed for some users \n",
|
||||||
"text_loader_kwargs = {'encoding': 'utf-8'}\n",
|
"text_loader_kwargs = {'encoding': 'utf-8'}\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user