ragas
ragas copied to clipboard
Evaluation framework for your Retrieval Augmented Generation (RAG) pipelines
[ ] I checked the [documentation](https://docs.ragas.io/) and related resources and couldn't find an answer to my question. **Your Question** How to calculate total tokens consumption for evaluating our RAG model?...
[ ] I have checked the [documentation](https://docs.ragas.io/) and related resources and couldn't resolve my bug. **Describe the bug** I am able to calculate 4 metrics {'faithfulness': 1.0000, 'answer_relevancy': 0.9880, 'context_recall':...
[ x] I have checked the [documentation](https://docs.ragas.io/) and related resources and couldn't resolve my bug. **Describe the bug** Faithfullness is not working returning always Nan, sometimes also the context precision...
Hi, I am wondering how to save each generated testset data in a single testset generating step? I mean for example if I use `generator.generate_with_langchain_docs` and set `test_size=1000`, it will...
## Overview This PR addresses the double swap bug in the AnswerAccuracy metric implementation. In the original implementation, both the meta-labels (User Answer / Reference Answer) and their corresponding values...
## Overview This PR fixes a bug in the RefusalRate docs metric implementation. The ValidationError occurred because the required fields for a SingleTurnSample were set to {"response", "reference"}, while the...
` scores = ragas_evaluate( dataset=eval_dataset, metrics=[metric], run_config=my_run_config, llm=evaluator_llm, embeddings=evaluator_embeddings ) ` this code is normal in local windows, but when I run in ubuntu(18.04.6), it is error:Can't patch loop of...
[ ] I have checked the [documentation](https://docs.ragas.io/en/stable/getstarted/rag_testset_generation/) and related resources and couldn't resolve my bug. **Describe the bug** I am not able to do testset generation using the local Ollama...
- I checked the [documentation](https://docs.ragas.io/en/stable/getstarted/rag_testset_generation/#load-documents) and related resources and couldn't find an answer to my question. **Question** - Previously there was a feature which would let you add the name...