Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: RAGatouille is not installed. Please install it with pip install ragatouille. #228

Open
arkanalexei opened this issue Jul 2, 2024 · 0 comments

Comments

@arkanalexei
Copy link

I'm trying out RAGatouilleRetrieverPack from the llama_pack.

from llama_index.core.llama_pack import download_llama_pack
from llama_index.llms.openai import OpenAI


RAGatouilleRetrieverPack = download_llama_pack(
    "RAGatouilleRetrieverPack", "./ragatouille_pack"
)

llm = OpenAI(model="gpt-3.5-turbo", temperature=0)

ragatouille_pack = RAGatouilleRetrieverPack(
  all_documents,
  llm=llm,
  index_name="my_index",
  top_k=5
)

For some reason, it says that RAGatouille is not installed, when in reality I have installed it. Here's my requirements.txt (quite length)

aiohttp==3.9.5
aiosignal==1.3.1
annotated-types==0.7.0
antiorm==1.2.1
anyio==4.4.0
astor==0.8.1
asttokens==2.4.1
async-timeout==4.0.3
attrdict==2.0.1
attrs==23.2.0
azure-core==1.30.2
azure-identity==1.17.1
Babel==2.15.0
bce-python-sdk==0.9.17
beautifulsoup4==4.12.3
bitarray==2.9.2
blinker==1.8.2
cachetools==5.3.3
catalogue==2.0.10
certifi==2024.6.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
Colbert==0.40
colbert-ai==0.2.19
colorama==0.4.6
comm==0.2.2
contourpy==1.2.1
cryptography==42.0.8
cssselect==1.2.0
cssutils==2.11.1
cycler==0.12.1
Cython==3.0.10
dataclasses-json==0.6.7
datasets==2.20.0
db==0.1.1
debugpy==1.8.2
decorator==5.1.1
Deprecated==1.2.14
deprecation==2.1.0
dill==0.3.8
dirtyjson==1.0.8
distro==1.9.0
duckdb==1.0.0
et-xmlfile==1.1.0
exceptiongroup==1.2.1
executing==2.0.1
faiss-cpu==1.8.0.post1
fast-pytorch-kmeans==0.2.0.1
filelock==3.15.4
fire==0.6.0
Flask==3.0.3
flask-babel==4.0.0
fonttools==4.53.0
frozenlist==1.4.1
fsspec==2024.5.0
future==1.0.0
git-python==1.0.3
gitdb==4.0.11
GitPython==3.1.43
greenlet==3.0.3
h11==0.14.0
html2text==2024.2.26
httpcore==1.0.5
httpx==0.27.0
huggingface-hub==0.23.4
icalendar==5.0.13
idna==3.7
imageio==2.34.2
imgaug==0.4.0
importlib_metadata==8.0.0
importlib_resources==6.4.0
intel-openmp==2021.4.0
ipykernel==6.29.4
ipython==8.18.1
itsdangerous==2.2.0
jedi==0.19.1
Jinja2==3.1.4
joblib==1.4.2
jsonpatch==1.33
jsonpointer==3.0.0
jupyter_client==8.6.2
jupyter_core==5.7.2
kiwisolver==1.4.5
lancedb==0.9.0
langchain==0.1.20
langchain-community==0.0.38
langchain-core==0.1.52
langchain-text-splitters==0.0.2
langsmith==0.1.82
lazy_loader==0.4
llama-cloud==0.0.6
llama-hub==0.0.79.post1
llama-index==0.10.0
llama-index-agent-openai==0.1.7
llama-index-core==0.10.50.post1
llama-index-embeddings-azure-openai==0.1.10
llama-index-embeddings-ollama==0.1.2
llama-index-embeddings-openai==0.1.10
llama-index-indices-managed-colbert==0.1.2
llama-index-legacy==0.9.48
llama-index-llms-azure-openai==0.1.8
llama-index-llms-ollama==0.1.5
llama-index-llms-openai==0.1.23
llama-index-multi-modal-llms-openai==0.1.6
llama-index-packs-ragatouille-retriever @ file:///C:/Users/myname/project/ragatouille_pack
llama-index-program-openai==0.1.6
llama-index-question-gen-openai==0.1.3
llama-index-readers-file==0.1.25
llama-index-retrievers-bm25==0.1.5
llama-index-vector-stores-lancedb==0.1.6
lmdb==1.4.1
lxml==5.2.2
MarkupSafe==2.1.5
marshmallow==3.21.3
matplotlib==3.9.0
matplotlib-inline==0.1.7
mkl==2021.4.0
more-itertools==10.3.0
mpmath==1.3.0
msal==1.29.0
msal-extensions==1.2.0
multidict==6.0.5
multiprocess==0.70.16
mypy-extensions==1.0.0
nest-asyncio==1.6.0
networkx==3.2.1
ninja==1.11.1.1
nltk==3.8.1
numpy==1.26.4
onnx==1.16.1
openai==1.35.5
opencv-contrib-python==4.6.0.66
opencv-python==4.6.0.66
opencv-python-headless==4.10.0.84
openpyxl==3.1.4
opt-einsum==3.3.0
orjson==3.10.5
overrides==7.7.0
packaging==23.2
paddleocr @ git+https://github.com/paddlepaddle/PaddleOCR.git@433677182f108c1be413ee8a92815bc13b205737
paddlepaddle==2.6.1
pandas==2.2.2
parso==0.8.4
pdf2docx==0.5.8
pillow==10.3.0
platformdirs==4.2.2
portalocker==2.10.0
premailer==3.10.0
prompt_toolkit==3.0.47
protobuf==3.20.2
psutil==6.0.0
pure-eval==0.2.2
py==1.11.0
pyaml==23.12.0
pyarrow==15.0.0
pyarrow-hotfix==0.6
pyclipper==1.3.0.post5
pycparser==2.22
pycryptodome==3.20.0
pydantic==2.7.4
pydantic_core==2.18.4
Pygments==2.18.0
PyJWT==2.8.0
pylance==0.13.0
PyMuPDF==1.24.7
PyMuPDFb==1.24.6
pynvml==11.5.0
pyparsing==3.1.2
pypdf==4.2.0
python-dateutil==2.9.0.post0
python-docx==1.1.2
python-dotenv==1.0.1
pytz==2024.1
pywin32==306
PyYAML==6.0.1
pyzmq==26.0.3
RAGatouille==0.0.8
rank-bm25==0.2.2
rapidfuzz==3.9.3
rarfile==4.2
ratelimiter==1.2.0.post0
regex==2024.5.15
requests==2.32.3
retry==0.9.2
retrying==1.3.4
safetensors==0.4.3
scikit-image==0.24.0
scikit-learn==1.5.0
scipy==1.13.1
sentence-transformers==2.7.0
shapely==2.0.4
six==1.16.0
smmap==5.0.1
sniffio==1.3.1
soupsieve==2.5
SQLAlchemy==2.0.31
srsly==2.4.8
stack-data==0.6.3
striprtf==0.0.26
sympy==1.12.1
tantivy==0.22.0
tbb==2021.13.0
tenacity==8.4.2
termcolor==2.4.0
threadpoolctl==3.5.0
tifffile==2024.6.18
tiktoken==0.7.0
tokenizers==0.19.1
torch==2.3.1
tornado==6.4.1
tqdm==4.66.4
traitlets==5.14.3
transformers==4.41.2
typing-inspect==0.9.0
typing_extensions==4.12.2
tzdata==2024.1
ujson==5.10.0
urllib3==2.2.2
visualdl==2.5.3
voyager==2.0.6
wcwidth==0.2.13
Werkzeug==3.0.3
wrapt==1.16.0
xxhash==3.4.1
yarl==1.9.4
zipp==3.19.2

I hope to try out ColBERTv2. Any help is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant