diff --git a/README.md b/README.md index 6129fe67..1ec5fd8f 100644 --- a/README.md +++ b/README.md @@ -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`.