Skip to content

the version of ragatouille #10

@cam2223

Description

@cam2223

I would like to know the version of the ragatouille package you are using. I encountered the following error when running the command python scripts/retrieve.py --config-name ldu.

`Traceback (most recent call last):
File "/home/zhangzihao/hjy/MDocAgent/scripts/retrieve.py", line 22, in main
module = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zhangzihao/anaconda3/envs/mdocagent/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "/home/zhangzihao/hjy/MDocAgent/retrieval/text_retrieval.py", line 4, in
from ragatouille import RAGPretrainedModel
File "/home/zhangzihao/anaconda3/envs/mdocagent/lib/python3.12/site-packages/ragatouille/init.py", line 21, in
from .RAGPretrainedModel import RAGPretrainedModel
File "/home/zhangzihao/anaconda3/envs/mdocagent/lib/python3.12/site-packages/ragatouille/RAGPretrainedModel.py", line 5, in
from langchain.retrievers.document_compressors.base import BaseDocumentCompressor
ModuleNotFoundError: No module named 'langchain.retrievers'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions