Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from kor.extraction import create_extraction_chain not supported by Lang Chain #244

Open
matttschetter opened this issue Oct 28, 2023 · 4 comments

Comments

@matttschetter
Copy link

I could be mistaken, but it appears create_extraction_chain from kor.extraction is not support by LangChain anymore and may need updating. This is the error I got

UserWarning: Importing PromptTemplate from langchain root module is no longer supported.
warnings.warn(

@eyurtsev
Copy link
Owner

Thanks! It's okay for now it's a warning about an upcoming deprecation, but code will work fine as is for now. I'll update in a bit.

@surkova
Copy link

surkova commented Jan 18, 2024

Please update, now more things are posting warnings.

@abcnow
Copy link

abcnow commented Jun 17, 2024

any update on this? it keeps happening on my end...

from kor import KorExtractor # Adjusted import based on actual class name
ImportError: cannot import name 'KorExtractor' from 'kor'

@eyurtsev
Copy link
Owner

eyurtsev commented Jun 19, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants