mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-31 18:38:48 +00:00
fix root import (#11072)
This commit is contained in:
@@ -298,7 +298,7 @@ def __getattr__(name: str) -> Any:
|
|||||||
|
|
||||||
return ElasticVectorSearch
|
return ElasticVectorSearch
|
||||||
# For backwards compatibility
|
# For backwards compatibility
|
||||||
elif name == "SerpAPIChain":
|
elif name == "SerpAPIChain" or name == "SerpAPIWrapper":
|
||||||
from langchain.utilities import SerpAPIWrapper
|
from langchain.utilities import SerpAPIWrapper
|
||||||
|
|
||||||
_warn_on_import(name)
|
_warn_on_import(name)
|
||||||
|
Reference in New Issue
Block a user