langchain dependency problem #362
Labels
bug
Something isn't working
feat/model
Feature: models
third party
Third-party software (integrations etc.)
spacy-llm's langchain interface is incompatible with
langchain>=0.0.302
because in 302 they stopped exporting modules, so the.llms
property that is used in this code no longer exists. This rendersspacy-llm
unloadable because the registry model initialization calls the Langchain model and the Langchain model's__init__()
calls this function.Stack trace with 0.0.326 looks like this:
I verified that 0.0.331 gives the same error, but somehow that's listed in the dev requirements.txt.
The text was updated successfully, but these errors were encountered: