Skip to content

Commit 01b2889

Browse files
authored
docs: minor corrections (#747)
fixes: #665 #746
1 parent 746d723 commit 01b2889

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/howtos/applications/data_preparation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This tutorial assumes that you have the 4 required data points from your RAG pip
1010
1. Question: A set of questions.
1111
2. Contexts: Retrieved contexts corresponding to each question. This is a `list[list]` since each question can retrieve multiple text chunks.
1212
3. Answer: Generated answer corresponding to each question.
13-
4. Ground truths: Ground truths corresponding to each question. This is also a `list[list]` since each question may have multiple ground truths.
13+
4. Ground truths: Ground truths corresponding to each question. This is a `str` which corresponds to the expected answer for each question.
1414

1515

1616
## Example dataset
@@ -24,7 +24,7 @@ data_samples = {
2424
'answer': ['The first superbowl was held on January 15, 1967', 'The most super bowls have been won by The New England Patriots'],
2525
'contexts' : [['The Super Bowl....season since 1966,','replacing the NFL...in February.'],
2626
['The Green Bay Packers...Green Bay, Wisconsin.','The Packers compete...Football Conference']],
27-
'ground_truth': [['The first superbowl was held on January 15, 1967'], ['The New England Patriots have won the Super Bowl a record six times']]
27+
'ground_truth': ['The first superbowl was held on January 15, 1967', 'The New England Patriots have won the Super Bowl a record six times']
2828
}
2929
dataset = Dataset.from_dict(data_samples)
3030
```

docs/howtos/customisations/bring-your-own-llm-or-embs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Ragas uses LLMs and Embeddings for both evaluation and test set generation. By default, the LLM and Embedding models of choice are OpenAI models.
44

55
- [Evaluations](#evaluations)
6-
- [Testset Generation](#testset-generation)
6+
- [Testset Generation](#test-set-generation)
77

88

99
:::{note}

0 commit comments

Comments
 (0)