Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

ImportError: cannot import name 'BaseOuputParser' from 'langchain.schema'

Hello i am trying to run this following code but i am getting an error;

from langchain.schema import BaseOuputParser

Error;

ImportError: cannot import name ‘BaseOuputParser’ from
‘langchain.schema’

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

My langchain version is ; ‘0.1.7’

>Solution :

Quite simple, you have a typo. BaseOuputParser vs BaseOutputParser. Missing a t.

Voted to close this question based on that due to that, but if fixing it does not solve the problem, then the issue is elsewhere.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading