diff --git a/libs/langchain/langchain/llms/symblai_nebula.py b/libs/langchain/langchain/llms/symblai_nebula.py index e52d53dc71..cbc8284169 100644 --- a/libs/langchain/langchain/llms/symblai_nebula.py +++ b/libs/langchain/langchain/llms/symblai_nebula.py @@ -3,7 +3,7 @@ import logging from typing import Any, Callable, Dict, List, Mapping, Optional import requests -from pydantic import Extra, root_validator +from pydantic_v1 import Extra, root_validator from requests import ConnectTimeout, ReadTimeout, RequestException from tenacity import ( before_sleep_log,