ragas
ragas copied to clipboard
Evaluation framework for your Retrieval Augmented Generation (RAG) pipelines
Without this I get exceptions due to right quotes not being encoded correctly.
I have down model weights in my computer,but i don't how to use LOCAL LLMS and Embeddings for ragas according to Here is My code but it did't work ```...
**Your Question** What should I do when I encountered these errors when generating test data in a non English language? **Code Examples** ```from langchain_community.document_loaders import DirectoryLoader, TextLoader from ragas.llms import...
**Your Question** I was wondering if the API support only generating the reference_contexts and not the whole flow? In addition, where can I find the actual links the context is...
This is the data I wrote with ChatOpenAI as the interface of tongyi, but I encountered the following problems, why? import os from langchain_openai import ChatOpenAI, OpenAIEmbeddings from datasets import...
I executed the following code, but the generated dataset is empty. What could be the issue? My Ragas version is 0.2.14. code{from ragas.testset import TestsetGenerator generator = TestsetGenerator(llm=generator_llm, embedding_model=generator_embeddings) dataset...
[ ] I checked the [documentation](https://docs.ragas.io/) and related resources and couldn't find an answer to my question. **Your Question** How to evaluate rags in other language. 1. The dataset has...
**Describe the bug** The calculation of answer_correctness metric (0.75*factual_correctness+0.25*semantic_similarity), does not use the same implementation of factual_correctness as when FactualCorrectness is computed directly. This discrepancy leads to inconsistent results in...
When calculate factual correctness because of fuzzy matching, the following could happen: 4 claims in response 2 claims in ground truth Let's say 2 claims in response are good, and...
[ ] I have checked the [documentation](https://docs.ragas.io/) and related resources and couldn't resolve my bug. **Describe the bug** A clear and concise description of what the bug is. apply_transforms never...