mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-23 03:19:38 +00:00
Create pydantic v1 namespace in langchain (#9254)
Create pydantic v1 namespace in langchain experimental
This commit is contained in:
@@ -13,7 +13,7 @@ from langchain.prompts.chat import (
|
||||
HumanMessagePromptTemplate,
|
||||
)
|
||||
from langchain.schema import LLMResult, PromptValue
|
||||
from pydantic import Extra, root_validator
|
||||
from pydantic_v1 import Extra, root_validator
|
||||
|
||||
|
||||
class SmartLLMChain(Chain):
|
||||
|
Reference in New Issue
Block a user