Replies: 1 comment 1 reply
-
@555chy you can support documentation on your own by providing a second implementation for the endpoints and declaring its documentation as a workaround. We're not going to provide an adapter here since it's on FastAPIs road-map and that seems like the easiest place to support it. LangChain itself will be upgrading entirely to pydantic v2 around 2024 July. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
LANGSERVE:⚠️ Using pydantic 2.6.4. OpenAPI docs for invoke, batch, stream, stream_log endpoints will not be generated. API endpoints and playground should work as expected. If you need to see the docs, you can downgrade to pydantic 1. For example,
pip install pydantic==1.10.13
. See fastapi/fastapi#10360 for details.I use pydantic 2.6.4 to run this,but web and doc both not work!
Beta Was this translation helpful? Give feedback.
All reactions