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