Skip to content

Commit

Permalink
remove langchain_core.pydantic_v1 from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattf committed Sep 17, 2024
1 parent 3755143 commit 9044a6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def with_structured_output( # type: ignore
1. If a Pydantic schema is provided, the model will return a Pydantic object.
Example:
```
from langchain_core.pydantic_v1 import BaseModel, Field
from pydantic import BaseModel, Field
class Joke(BaseModel):
setup: str = Field(description="The setup of the joke")
punchline: str = Field(description="The punchline to the joke")
Expand Down

0 comments on commit 9044a6a

Please sign in to comment.