docs: update imports of adapters to use langchain_community (#18751)

Updated imports from `langchain` to `langchain_community`
This commit is contained in:
Leonid Ganeline 2024-03-07 12:04:25 -08:00 committed by GitHub
parent fcaa9cf2f1
commit dad949eb99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -16,13 +16,13 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "6017f26a",
"metadata": {},
"outputs": [],
"source": [
"import openai\n",
"from langchain.adapters import openai as lc_openai"
"from langchain_community.adapters import openai as lc_openai"
]
},
{
@ -277,7 +277,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.10.12"
}
},
"nbformat": 4,

View File

@ -22,7 +22,7 @@
"outputs": [],
"source": [
"import openai\n",
"from langchain.adapters import openai as lc_openai"
"from langchain_community.adapters import openai as lc_openai"
]
},
{
@ -310,7 +310,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.10.12"
}
},
"nbformat": 4,