I am use ragas for measuring the llm response. But facing problem in llama_index modules import.
from ragas.langchain.evalchain import RagasEvaluatorChain
from ragas.llama_index import evaluate
throw error because of this
try:
from llama_index.async_utils import run_async_tasks
except ImportError:
raise ImportError(
“llama_index must be installed to use this function. ”
“Please, install it with pip install llama_index
.”
)
I am expecting to remove the import error
Asad Ur Rahman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.