Skip to content

Commit

Permalink
Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
teron131 committed Jul 18, 2024
1 parent d97ff88 commit ed6a03c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notebooks/ReActVSCustom.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"id": "ae9e7280-1997-4ab6-9810-31dcd7c68d92",
"metadata": {},
"source": [
"# ReAct Agent VS Custom Agent\n",
"# ReAct Agent VS Self-Corrective RAG\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://drive.google.com/file/d/1KUCIBFtDytL2gFgyFC46t_Yjp3jDjdUF/view?usp=sharing)\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions notebooks/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"NEWLINE_RE = re.compile(\"\\n+\")\n",
"\n",
"\n",
"class PandasDocsLoader(web_base.WebBaseLoader):\n",
"class WebDocsLoader(web_base.WebBaseLoader):\n",
" def lazy_load(self) -> Iterator[Document]:\n",
" \"\"\"Lazy load text from the url(s) in web_path.\"\"\"\n",
" for path in self.web_paths:\n",
Expand All @@ -183,7 +183,7 @@
" is_separator_regex=True,\n",
" chunk_size=1000,\n",
" )\n",
" docs = [PandasDocsLoader(url).load() for url in urls]\n",
" docs = [WebDocsLoader(url).load() for url in urls]\n",
" docs_list = [item for sublist in docs for item in sublist]\n",
" return text_splitter.split_documents(docs_list)\n",
"\n",
Expand Down

0 comments on commit ed6a03c

Please sign in to comment.