AnswerDotAI / byaldi

Use late-interaction multi-modal models such as ColPali in just a few lines of code.
Apache License 2.0
626 stars 60 forks source link

Langchain integration does not work #49

Closed chandlj closed 3 weeks ago

chandlj commented 1 month ago

Hello,

I am trying to use the RAG.as_langchain_retriever() method, but I am receiving the following error:

NameError: name 'ByaldiLangChainRetriever' is not defined

I have tried both running pip install byaldi[langchain] as well as cloning the repo and running pip install .[langchain], to no avail.

bclavie commented 3 weeks ago

This is caused by https://github.com/AnswerDotAI/byaldi/issues/42. Seems like there's an oversight there, will fix soon.