mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-28 06:48:50 +00:00
Create pydantic v1 namespace in langchain (#9254)
Create pydantic v1 namespace in langchain experimental
This commit is contained in:
@@ -19,7 +19,7 @@ from langchain.schema.messages import (
|
||||
BaseMessage,
|
||||
SystemMessage,
|
||||
)
|
||||
from pydantic import root_validator
|
||||
from pydantic_v1 import root_validator
|
||||
|
||||
prompt = """In addition to responding, you can use tools. \
|
||||
You have access to the following tools.
|
||||
|
Reference in New Issue
Block a user