mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
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:
parent
8732cfc6ef
commit
9cdb99bd60
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user