8000 Tags · marcklingen/ragas · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: marcklingen/ragas

Tags

v0.0.18

Toggle v0.0.18's commit message

Verified

This commit was created on GitHub.com and signed with GitHubâ 8000 €™s verified signature. The key has expired.
fix: remove limit on pydantic 2.0 (explodinggradients#209)

v0.0.17

Toggle v0.0.17's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
testset generation: bug fixes (explodinggradients#185)

Fixes 

- [x] issues with multi-context question generation  
- [x] Error in doc filtering

v0.0.16

Toggle v0.0.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Testset generation: documentation (explodinggradients#158)

v0.0.15

Toggle v0.0.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
ZeroDivisionError in context_relevance (explodinggradients#154)

Changed: python3.9/site-packages/ragas/metrics/context_relevance.py",
line 162, in _score_batch

From: `score = min(len(indices) / len(context_sents), 1)`

To: ``` if len(context_sents) == 0:
                        score = 0
                else:
score = min(len(indices) / len(context_sents), 1)```

fixes: explodinggradients#153

Co-authored-by: devtribble <devanshu@tribble.ai>

v0.0.14

Toggle v0.0.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix remap_column_names (explodinggradients#140)

When I try to do the following, I got error:

```python
ds = Dataset.from_dict(
    {
        "question": ["question"],
        "answer": ["answer"],
        "contexts": [["context"]],
    }
)

from ragas import evaluate
from ragas.metrics import Faithfulness

evaluate(dataset =ds, metrics=[Faithfulness(batch_size=1)])
```

```
KeyError: "Column ground_truths not in the dataset. Current columns in the dataset: ['question', 'answer', 'contexts']"
```
But `ground_truths ` is not needed for `Faithfulness` .

This PR is to fix it.

v0.0.13

Toggle v0.0.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: linting issues (explodinggradients#138)

v0.0.12

Toggle v0.0.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Improve context relevancy (explodinggradients#112)

## What
Improve context relevancy prompt 

## Why
LLM has trouble doing candidate sentence extraction. The current prompt
has caused issues where context relevancy becomes zero due to a
suboptimal prompt. This prompt is tested on data from Arxiv,
StackOverflow, etc.

fixes: explodinggradients#109

v0.0.11

Toggle v0.0.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Context Recall (explodinggradients#96)

## What
Context recall estimation using annotated answers as ground truth

## Why
Context recall was a highly requested feature, as it is one of the main
pain points where pipeline error occurs in RAG systems

## How
Introduced a simple paradigm similar to faithfulness

---------

Co-authored-by: jjmachan <jamesjithin97@gmail.com>

v0.0.10

Toggle v0.0.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
docs: notebook for langsmith integration (explodinggradients#85)

v0.0.9

Toggle v0.0.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore: added an e2e test in Makefile (explodinggradients#76)

0