Browse Source

Merge pull request #1 from ed-donner/main

Week 1 - Day 1
pull/268/head
asanahidi429 2 months ago committed by GitHub
parent
commit
438e123dc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      week5/day2.ipynb

3
week5/day2.ipynb

@ -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",

Loading…
Cancel
Save