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:
Matthew Koski 2024-05-17 12:19:57 -05:00 committed by GitHub
parent eb7f07ae36
commit e59afe292d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"