Open matttschetter opened 8 months ago
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.
Please update, now more things are posting warnings.
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'
It's a deprecation warning. I'll try to release at some point, but spending more time on langchain maintenance right now. You can suppress the deprecation warnings on user side, or else ignore them for now -- they're just saying that some code moved from one place to another in the langchain code base.
On Tue, Jun 18, 2024 at 11:59 PM agencymemory @.***> wrote:
Looks like this repo is not regularly maintained. I am still getting the warning
— Reply to this email directly, view it on GitHub https://github.com/eyurtsev/kor/issues/244#issuecomment-2177573797, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYOTETQFVA6XUUC5NS3CULZID6ZNAVCNFSM6AAAAAA6UGX3O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZXGU3TGNZZG4 . You are receiving this because you commented.Message ID: @.***>
-- Eugene Yurtsev
Personal Website: http://eyurtsev.github.io
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(