mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-10 13:27:36 +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:
parent
eb7f07ae36
commit
e59afe292d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user