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:
Steve Kim 2023-05-04 09:54:30 +09:00 committed by GitHub
parent 374725a715
commit 9b830f437c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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