ragas
ragas copied to clipboard
Evaluation framework for your Retrieval Augmented Generation (RAG) pipelines
Random RuntimeError: Tool context error detected. This can occur due to parallelization in VertexAI
- [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:...
**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...
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
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...
[ ]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...
**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",...
**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...
[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...
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...