From 12ba79ab1381138ff00e32c86e4781f6bd3a888e Mon Sep 17 00:00:00 2001 From: Alex Telon Date: Wed, 29 Nov 2023 22:51:06 +0100 Subject: [PATCH] Fixed 1 spelling error in docs (#236) --- docs/examples/self_critique.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/self_critique.md b/docs/examples/self_critique.md index f66e5bc..136fc79 100644 --- a/docs/examples/self_critique.md +++ b/docs/examples/self_critique.md @@ -69,7 +69,7 @@ While it calls out the objectionable content, it doesn't provide any details on ## Adding Custom Validation By adding a validator to the `answer` field, we can try to catch the issue and correct it. -Lets integrate `llm_validator` into the model and see the error message. Its important to not that you can use all of pydantic's validators as you would normally as long as you raise a `ValidationError` with a helpful error message as it will be used as part of the self correction prompt. +Lets integrate `llm_validator` into the model and see the error message. Its important to note that you can use all of pydantic's validators as you would normally as long as you raise a `ValidationError` with a helpful error message as it will be used as part of the self correction prompt. ```python class QuestionAnswerNoEvil(BaseModel):