Create pydantic v1 namespace in langchain (#9254)

Create pydantic v1 namespace in langchain experimental
This commit is contained in:
Eugene Yurtsev
2023-08-17 00:19:31 -04:00
committed by GitHub
parent 4c2de2a7f2
commit 2673b3a314
21 changed files with 44 additions and 20 deletions

View File

@@ -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.