IntelLabs / fastRAG

Efficient Retrieval Augmentation and Generation Framework
Apache License 2.0
1.1k stars 94 forks source link

Document Lister not imported #24

Closed karrtikiyer closed 10 months ago

karrtikiyer commented 10 months ago

In GPT as both retriever and ranker, there is a line of code:

from fastrag.prompters.document_shapers.document_lister import DocumentLister

However if we look at fastrag/prompters/document_shapers/__init__.py the file is empty, the documentLister is not imported.

danielfleischer commented 10 months ago

document_lister.py is a file, treated as a module due to the existence of an empty __init__.py file. Can't reproduce as the class DocumentLister is imported correctly.