Closed karrtikiyer closed 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.
fastrag/prompters/document_shapers/__init__.py
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.
document_lister.py
__init__.py
DocumentLister
In GPT as both retriever and ranker, there is a line of code:
However if we look at
fastrag/prompters/document_shapers/__init__.py
the file is empty, the documentLister is not imported.