mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
Deleted importing Document from document_loaders.base because Documen… (#4068)
Hi, - Modification: https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/arxiv.html - Reason: In this example, the first line is unnecessary because the Document class does not exist in the base. - Resolves: Issue #4052 -------- P.S: This pull-request is my first time, so please let me know if I need to correct or write more explanation.
This commit is contained in:
parent
374725a715
commit
9b830f437c
@ -88,7 +88,6 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"from langchain.document_loaders.base import Document\n",
|
|
||||||
"from langchain.document_loaders import ArxivLoader"
|
"from langchain.document_loaders import ArxivLoader"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user