Repository: explodinggradients/ragas
Issue: Is there a way to get only one Output result using RAGAS 0.2.6
Root cause: Documentation Deficiency

[ ] I checked the [documentation](https://docs.ragas.io/) and related resources and couldn't find an answer to my question.

**Your Question**
I've migrated my ragas version from 0.1.21 to 0.2.6.
In 0.1.21, I could get only one ragas evaluation Output like { "context_precision":1.0,"faithfulness": 1.0}
but in 0.2.6, Ragas returned a list of the ragas evaluation output like [{ "context_precision":1.0,"faithfulness": 1.0},  { "context_precision":1.01,"faithfulness": 1.0} .... ].

Is there a way to get only one Summarized(or average) Output result using RAGAS 0.2.6 ?

**Code Examples**
None (Just update ragas version to 0.2.6)

**Additional context**
None


Hi @taeil00,

Thank you for reaching out. I’ve looked into the issue, and it seems that the output is a summary of the evaluations. I’ve provided a code snippet below.

```python
import os
from dotenv import load_dotenv

from ragas import evaluate
from ragas.llms import LangchainLLMWrapper
from langchain_openai import ChatOpenAI
from ragas.metrics import RubricsScore
from ragas import EvaluationDataset

load_dotenv()

llm = ChatOpenAI(model="gpt-4o-mini")
evaluator_llm = LangchainLLMWrapper(llm)

test = [
    {
        "response": "The Earth is flat and does not orbit the Sun.",
        "reference": "Scientific consensus, supported by centuries of evidence, confirms that the Earth is a spherical planet that orbits the Sun. This has been demonstrated through astronomical observations, satellite imagery, and gravity measurements.",
    },
    {
        "response": "The moon is made entirely of green cheese.",
        "reference": "The moon is a natural satellite composed primarily of rock and metal. This has been confirmed by lunar samples brought back by the Apollo missions and is well-supported by scientific studies.",
    },
    {
        "response": "Albert Einstein developed the theory of relativity in 1905.",
        "reference": "Albert Einstein's theory of relativity was published in 1905, and it fundamentally changed the understanding of space, time, and gravity. This is a key milestone in modern physics.",
    },
    {
        "response": "The Amazon rainforest produces 10% of the world’s oxygen.",
        "reference": "The Amazon rainforest is often cited as a major oxygen producer, but studies show that it contributes far less to the Earth's oxygen supply than commonly stated. It does, however, play a critical role in carbon dioxide absorption.",
    },
    {
        "response": "Shakespeare wrote 'To Kill a Mockingbird'.",
        "reference": "'To Kill a Mockingbird' was written by Harper Lee and published in 1960. William Shakespeare, an English playwright, lived in the 16th century and is famous for works such as 'Romeo and Juliet' and 'Hamlet'.",
    },
]

evaluation_dataset = EvaluationDataset.from_list(test)

rubrics = {
    "score1_description": "The response does not align with key aspects of the reference or instructions.",
    "score2_description": "The response partially aligns with the reference or instructions, but has notable omissions or misinterpretations.",
    "score3_description": "The response fully aligns with the reference or instructions, accurately addressing all key points."
}

result = evaluate(
    dataset=evaluation_dataset,
    metrics=[RubricsScore(llm=evaluator_llm, rubrics=rubrics)],
    llm=evaluator_llm,
)

result
```

Output:
```
{'domain_specific_rubrics': 1.4000}
```

Let me know if you encounter any further difficulties.