You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I included a link to the documentation page I am referring to (if applicable).
Issue with current documentation:
The first code block on https://python.langchain.com/v0.2/docs/how_to/tools_prompting/#creating-our-prompt has from langchain.tools.render import render_text_description
this did not work for me, I got an error that I didn't have the module "langchain". I fixed it by changing that line to from langchain_core.tools import render_text_description
instead.
dosubotbot
added
Ɑ: core
Related to langchain-core
🤖:docs
Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
labels
May 17, 2024
…#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: langchain-ai#21814
JuHyung-Son
pushed a commit
to JuHyung-Son/langchain
that referenced
this issue
May 23, 2024
…#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: langchain-ai#21814
Checklist
Issue with current documentation:
The first code block on https://python.langchain.com/v0.2/docs/how_to/tools_prompting/#creating-our-prompt has
from langchain.tools.render import render_text_description
this did not work for me, I got an error that I didn't have the module "langchain". I fixed it by changing that line to
from langchain_core.tools import render_text_description
instead.
Idea or request for content:
Change
from langchain.tools.render import render_text_description
tofrom langchain_core.tools import render_text_description
on https://python.langchain.com/v0.2/docs/how_to/tools_prompting/#creating-our-promptThe text was updated successfully, but these errors were encountered: