Skip to content

Commit 3c5b189

Browse files
Align Readme
1 parent 2344576 commit 3c5b189

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ It can be used in a RAG system to prevent the model from hallucinating or genera
3232
In this example we apply the RagContextValidator to validate the relevance of the retrieved context to the user's query.
3333

3434
```python
35-
from validator.prompts.prompts import RagContextRelevancePrompt
36-
from validator.main import MLcubeRagContextValidator
37-
from guardrails import Guard
3835

3936
# Define the guard with the MLcubeRagContextValidator,
4037
# specifying the relevance prompt generator to enable
@@ -88,11 +85,6 @@ In this example we evaluate the usefulness of the retrieved context to the user'
8885

8986
```python
9087

91-
from validator.prompts.prompts import (
92-
RagContextRelevancePrompt,
93-
RagContextUsefulnessPrompt,
94-
)
95-
9688
guard = Guard().use(
9789
MLcubeRagContextValidator(
9890
rag_context_eval_prompt=RagContextUsefulnessPrompt(),

0 commit comments

Comments
 (0)