Skip to content

Commit 4111ebc

Browse files
AbhishekRP2002NirantK
authored andcommitted
fix: minor typo in context_precision.md (explodinggradients#2050)
for `Context Precision without reference` definition, i.e LLMContextPrecisionWithoutReference metric can be used when you have both retrieved contexts and also reference contexts associated with a user_input. Here, it should be reference `answer` instead of reference `contexts` as per my understanding Similarly, for `Context Precision with reference definition` i.e LLMContextPrecisionWithReference metric is can be used when you have both retrieved contexts and also reference answer associated with a user_input. here, reference answer should be replaced with reference context
1 parent 2970221 commit 4111ebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/concepts/metrics/available_metrics/context_precision.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The following metrics uses LLM to identify if a retrieved context is relevant or
1717

1818
### Context Precision without reference
1919

20-
`LLMContextPrecisionWithoutReference` metric can be used when you have both retrieved contexts and also reference contexts associated with a `user_input`. To estimate if a retrieved contexts is relevant or not this method uses the LLM to compare each of the retrieved context or chunk present in `retrieved_contexts` with `response`.
20+
`LLMContextPrecisionWithoutReference` metric can be used when you have both retrieved contexts and also reference answer associated with a `user_input`. To estimate if a retrieved contexts is relevant or not this method uses the LLM to compare each of the retrieved context or chunk present in `retrieved_contexts` with `response`.
2121

2222
#### Example
2323

@@ -43,7 +43,7 @@ Output
4343

4444
### Context Precision with reference
4545

46-
`LLMContextPrecisionWithReference` metric is can be used when you have both retrieved contexts and also reference answer associated with a `user_input`. To estimate if a retrieved contexts is relevant or not this method uses the LLM to compare each of the retrieved context or chunk present in `retrieved_contexts` with `reference`.
46+
`LLMContextPrecisionWithReference` metric is can be used when you have both retrieved contexts and also reference context associated with a `user_input`. To estimate if a retrieved contexts is relevant or not this method uses the LLM to compare each of the retrieved context or chunk present in `retrieved_contexts` with `reference`.
4747

4848
#### Example
4949

0 commit comments

Comments
 (0)