|
|
|
@ -77,8 +77,9 @@
|
|
|
|
|
"source": [ |
|
|
|
|
"# Read in documents using LangChain's loaders\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", |
|
|
|
|
"folders = glob.glob(\"knowledge-base/*/\")\n", |
|
|
|
|
"folders = glob.glob(\"knowledge-base/*\")\n", |
|
|
|
|
"\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", |
|
|
|
|