mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-19 22:03:48 -04:00
[PR #188] [MERGED] Update examples to use pydantic v1 for safety #412
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langserve/pull/188
Author: @eyurtsev
Created: 11/7/2023
Status: ✅ Merged
Merged: 11/8/2023
Merged by: @eyurtsev
Base:
main← Head:eugene/use_langchain_pydantic_v1📝 Commits (2)
96185a0x0dfc764x📊 Changes
4 files changed (+4 additions, -4 deletions)
View changed files
📝
examples/agent/server.py(+1 -1)📝
examples/conversational_retrieval_chain/server.py(+1 -1)📝
examples/file_processing/server.py(+1 -1)📝
examples/widgets/server.py(+1 -1)📄 Description
This PR updates all exmaples to use langchain pydantic v1 namespace when using pydantic.
The reason is that most of langchain objects are still using on pydantic v1 and
code should not mix v1 and v2.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.