ragas icon indicating copy to clipboard operation
ragas copied to clipboard

Evaluation framework for your Retrieval Augmented Generation (RAG) pipelines

Results 425 ragas issues
Sort by recently updated
recently updated
newest added

- [x] I have checked the [documentation](https://docs.ragas.io/) and related resources and couldn't resolve my bug. **Describe the bug** I run evaluation, sometimes it works sometimes it fails with : `RuntimeError:...

bug

**Description:** Hi, I am currently using the latest version of Ragas (version 0.1.10) and encountering an error when using Ragas with local LLMs from Ollama. Here is my code: ```python...

bug

From [SyncLinear.com](https://synclinear.com) | [R-276](https://linear.app/exploding-gradients/issue/R-276/langchain-langsmith-integration)

todos - [ ] documentation for langsmith and langchain integrations - [ ] the execute() method gets stuck in unexpected places

size:L

File "/usr/local/lib/python3.10/dist-packages/ragas/langchain/evalchain.py", line 166, in evaluate dataset_with_scores = self.metric.score(dataset, callbacks=callbacks) File "/usr/local/lib/python3.10/dist-packages/ragas/metrics/base.py", line 76, in score score = self._score_batch(dataset.select(batch), callbacks=group) File "/usr/local/lib/python3.10/dist-packages/ragas/metrics/_answer_relevance.py", line 123, in _score_batch results = self.llm.generate( File...

bug
question
module-metrics

[ ]Hello I have checked the [documentation](https://docs.ragas.io/) and related resources and couldn't resolve my bug. **Describe the bug** Hello, when I run a sample like this with chinese: from datasets...

bug
module-metrics

**Describe the bug** The answer correctness does not seems consistent. **Code to Reproduce** question = ["1","2","3","4","5"] answers = ["yes", "no", "no", "yes", "no"] contexts = [["1","2","3","4"],["1","2","3","4"],["1","2","3","4"],["1","2","3","4"],["1","2","3","4"]] ground_truth = ["yes", "no","yes","no",...

bug

**Question:** Where is the prompt generating the actual question. I am using Claude Sonnet for generating the question test data set and it seems like the prompt can use some...

question

[X] I checked the [documentation](https://docs.ragas.io/) and related resources and couldn't find an answer to my question. https://docs.ragas.io/en/stable/concepts/metrics/critique.html **Your Question** In the documentation (linked above), there is a calculation reference to...

question
module-metrics

Hi, I am trying to use `TestsetGenerator` to produce a synthetic dataset paired with `LlamaIndex` and 'Ollama', it successfully completes the embedding process, but before startin the generation process the...

bug
module-testsetgen