Open 1100111GTH opened 2 months ago
having the same issue. Using langchain_experimental.sql import SQLDatabaseChain and seems to have a mismatch with the langchain_community.output_parsers.rail_parser import GuardrailsOutputParser in SQLAlchemy package i think.
Python 3.12
having the same issue. Using langchain_experimental.sql import SQLDatabaseChain and seems to have a mismatch with the langchain_community.output_parsers.rail_parser import GuardrailsOutputParser in SQLAlchemy package i think.
Python 3.12
Maybe someday will be fixed, lol. it's not a big problem, just curious。next version maybe, let's see
Checked other resources
Example Code
from langchain_core.output_parsers import StrOutputParser
Error Message and Stack Trace (if applicable)
/root/miniconda3/envs/xg_rag/lib/python3.9/site-packages/langchain/_api/module_import.py:87: LangChainDeprecationWarning: Importing GuardrailsOutputParser from langchain.output_parsers is deprecated. Please replace the import with the following: ...
Description
Is this normal to show the error? i'm not directly using GuardrailsOutputParser, if something maybe close to, i think is
from langchain_core.output_parsers import StrOutputParser
?System Info
python 3.9.18 langchian lastest version