From 5c7ee7e8b18d3b6f7fe143276be87e80539bd12e Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 9 Jan 2024 18:58:43 -0300 Subject: [PATCH] Update import statement for GoogleSerperAPIWrapper in GoogleSerperAPIWrapper.py --- .../langflow/components/utilities/GoogleSerperAPIWrapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/langflow/components/utilities/GoogleSerperAPIWrapper.py b/src/backend/langflow/components/utilities/GoogleSerperAPIWrapper.py index f48470d40..96fa82ac4 100644 --- a/src/backend/langflow/components/utilities/GoogleSerperAPIWrapper.py +++ b/src/backend/langflow/components/utilities/GoogleSerperAPIWrapper.py @@ -4,7 +4,7 @@ from typing import Dict, Optional # Assuming the existence of GoogleSerperAPIWrapper class in the serper module # If this class does not exist, you would need to create it or import the appropriate class from another module -from serper import GoogleSerperAPIWrapper +from langchain_community.utilities.google_serper import GoogleSerperAPIWrapper class GoogleSerperAPIWrapperComponent(CustomComponent): @@ -22,7 +22,7 @@ class GoogleSerperAPIWrapperComponent(CustomComponent): "advanced": False, "dynamic": False, "info": '', - "type": "dict", + "field_type": "dict", "list": False, "value": { "news": "news",