apocas/restai

Please provide requirements. txt

Closed this issue · 1 comments

The requirements.txt file is a text file used for Python projects, which lists all the required dependencies and their version numbers for the project.
image
llama_index-0.10.14 is wrong
from llama_index.embeddings.langchain import LangchainEmbedding
from llama_index.postprocessor.colbert_rerank import ColbertRerank

This project uses Poetry to manage requirements.
Check the pyproject.toml file is where the requirements are specified.

There's also a Makefile where you can check how the installation work.

Those errors in your screenshot are because your editor isn't using the venv that Poetry created after you ran poetry install.