AnswerDotAI / AnswerDotAI/byaldi

Dependency related modifications

Open
#77 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
851
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Hello,
The dependency on pdf2image and poppler-utils gave me some headaches because it is not possible to install poppler-utils in my work environment.
So, I implemented custom classes that does the same thing as pdf2image.convert_from_path() function but using PyMuPDF.
I also inherited RAGMultiModalModel and ColPaliModel classes and modified the certain methods to make them work with PyMuPDF-based new custom classes. As a result, it is still working in the same way but without the dependency on poppler-utils.

If it is welcomed and suitable, I'd like to contribute this implementation, but I don't know much about licensing issues.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.