langchain/docs/extras/modules
Joshua Sundance Bailey 0a1dc04875
PydanticOutputParser doc nb: use langchain.pydantic_v1; remove unused imports (#10651)
Description: This PR changes the import section of the
`PydanticOutputParser` notebook.
* Import from `langchain.pydantic_v1` instead of `pydantic`
* Remove unused imports

Issue: running the notebook as written, when pydantic v2 is installed,
results in the following:
```python
PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.3/migration/
```
[...]
```python
PydanticUserError: The `field` and `config` parameters are not available in Pydantic V2, please use the `info` parameter instead.

For further information visit https://errors.pydantic.dev/2.3/u/validator-field-config-info
```
2023-09-15 14:05:01 -07:00
..
agents runnable powered agent (#10407) 2023-09-09 15:22:13 -07:00
callbacks docs: agents & callbacks fixes (#10066) 2023-09-01 13:28:55 -07:00
chains docs: chains & memory fixes (#9895) 2023-09-03 15:06:20 -07:00
data_connection docs: self-query consistency (#10502) 2023-09-13 14:43:04 -07:00
memory docs: chains & memory fixes (#9895) 2023-09-03 15:06:20 -07:00
model_io PydanticOutputParser doc nb: use langchain.pydantic_v1; remove unused imports (#10651) 2023-09-15 14:05:01 -07:00
paul_graham_essay.txt codespell: workflow, config + some (quite a few) typos fixed (#6785) 2023-07-12 16:20:08 -04:00
state_of_the_union.txt Doc refactor (#6300) 2023-06-16 11:52:56 -07:00