Skip to content

The agent engineering platform.

langchain: Fixing import in docs per https://github.com/langchain-ai/langchain/issues/21814 (#21815)

Matthew Koskie59afe292d1c
diff --git a/docs/docs/how_to/tools_prompting.ipynb b/docs/docs/how_to/tools_prompting.ipynb
index f4ea7631b7..ec700a8795 100644
--- a/docs/docs/how_to/tools_prompting.ipynb
+++ b/docs/docs/how_to/tools_prompting.ipynb
@@ -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"