Skip to content

The agent engineering platform.

Fix superfluous Auto-fixing parser documents (#12062)

Shinya Maeda89bc73c6c3ab
diff --git a/docs/docs/modules/model_io/output_parsers/output_fixing_parser.mdx b/docs/docs/modules/model_io/output_parsers/output_fixing_parser.mdx
index 024bb0033c..83151da7dd 100644
--- a/docs/docs/modules/model_io/output_parsers/output_fixing_parser.mdx
+++ b/docs/docs/modules/model_io/output_parsers/output_fixing_parser.mdx
@@ -7,11 +7,9 @@ But we can do other things besides throw errors. Specifically, we can pass the m
For this example, we'll use the above Pydantic output parser. Here's what happens if we pass it a result that does not comply with the schema:
```python
-from langchain.prompts import PromptTemplate, ChatPromptTemplate, HumanMessagePromptTemplate
-from langchain.llms import OpenAI
from langchain.chat_models import ChatOpenAI
from langchain.output_parsers import PydanticOutputParser
-from pydantic import BaseModel, Field, validator
+from langchain.pydantic_v1 import BaseModel, Field
from typing import List
```