Skip to content

Commit

Permalink
Update README.md (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev authored Sep 16, 2024
1 parent 6b1a0d9 commit f3b9c43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,9 @@ gcloud run deploy [your-service-name] --source . --port 8001 --allow-unauthentic

## Pydantic

LangServe provides support for Pydantic 2 with some limitations.
LangServe>=0.3 fully supports Pydantic 2.

If you're using an earlier version of LangServe (<= 0.2), then please note that support for Pydantic 2 has the following limitations:

1. OpenAPI docs will not be generated for invoke/batch/stream/stream_log when using
Pydantic V2. Fast API does not support [mixing pydantic v1 and v2 namespaces]. To fix this, use `pip install pydantic==1.10.17`.
Expand Down

0 comments on commit f3b9c43

Please sign in to comment.