docs: remove unused imports in Tutorials Basics (#25919)

## Description

- `List` is not explicitly used, so the unnecessary imports will be
removed.
This commit is contained in:
Borahm Lee 2024-09-02 05:51:00 +09:00 committed by GitHub
parent 8732cfc6ef
commit 9cdb99bd60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View File

@ -479,8 +479,6 @@
"\n",
"```python\n",
"#!/usr/bin/env python\n",
"from typing import List\n",
"\n",
"from fastapi import FastAPI\n",
"from langchain_core.prompts import ChatPromptTemplate\n",
"from langchain_core.output_parsers import StrOutputParser\n",
@ -512,7 +510,6 @@
")\n",
"\n",
"# 5. Adding chain route\n",
"\n",
"add_routes(\n",
" app,\n",
" chain,\n",

View File

@ -337,8 +337,6 @@
}
],
"source": [
"from typing import List\n",
"\n",
"from langchain_core.documents import Document\n",
"from langchain_core.runnables import RunnableLambda\n",
"\n",