The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Fix not imported 'validator' (#715)
Николай Шангин18b14668932c
diff --git a/docs/modules/prompts/examples/custom_prompt_template.md b/docs/modules/prompts/examples/custom_prompt_template.mdindex c3358eb004..4caa6131c1 100644--- a/docs/modules/prompts/examples/custom_prompt_template.md+++ b/docs/modules/prompts/examples/custom_prompt_template.md@@ -34,7 +34,7 @@ Next, we'll create a custom prompt template that takes in the function name as i```pythonfrom langchain.prompts import BasePromptTemplate-from pydantic import BaseModel+from pydantic import BaseModel, validatorclass FunctionExplainerPromptTemplate(BasePromptTemplate, BaseModel):