mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 06:23:20 +00:00
langchain: Fixing import in docs per https://github.com/langchain-ai/langchain/issues/21814 (#21815)
Description: The example in the How-To guide had an import which did not work. I changed it to use an import from langchain_core. Issue: https://github.com/langchain-ai/langchain/issues/21814
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from langchain.tools.render import render_text_description\n",
|
||||
"from langchain_core.tools import render_text_description\n",
|
||||
"\n",
|
||||
"rendered_tools = render_text_description([multiply])\n",
|
||||
"rendered_tools"
|
||||
|
Reference in New Issue
Block a user