From 0737d2a790b490729fe638ea81bff1349d45aa8a Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 9 Jan 2024 19:00:30 -0300 Subject: [PATCH] Update import path for GoogleSearchAPIWrapper --- .../langflow/components/utilities/GoogleSearchAPIWrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/components/utilities/GoogleSearchAPIWrapper.py b/src/backend/langflow/components/utilities/GoogleSearchAPIWrapper.py index 110d6ea11..329358f52 100644 --- a/src/backend/langflow/components/utilities/GoogleSearchAPIWrapper.py +++ b/src/backend/langflow/components/utilities/GoogleSearchAPIWrapper.py @@ -5,7 +5,7 @@ from typing import Optional, Union, Callable # Assuming GoogleSearchAPIWrapper is a valid import based on JSON # and it exists in some module that should be imported here. # The import path should be replaced with the correct one once available. -from some_module import GoogleSearchAPIWrapper +from langchain_community.utilities.google_search import GoogleSearchAPIWrapper class GoogleSearchAPIWrapperComponent(CustomComponent):