From eff7dbc009b2f402d4ed43222b16360bec8018ac Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Tue, 9 Jan 2024 19:24:23 -0300 Subject: [PATCH] Update import statement for BingSearchAPIWrapper --- .../langflow/components/utilities/BingSearchAPIWrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/components/utilities/BingSearchAPIWrapper.py b/src/backend/langflow/components/utilities/BingSearchAPIWrapper.py index dc2bf051d..abe10d5bf 100644 --- a/src/backend/langflow/components/utilities/BingSearchAPIWrapper.py +++ b/src/backend/langflow/components/utilities/BingSearchAPIWrapper.py @@ -4,7 +4,7 @@ from langflow import CustomComponent # Assuming `BingSearchAPIWrapper` is a class that exists in the context # and has the appropriate methods and attributes. # We need to make sure this class is importable from the context where this code will be running. -from your_module import BingSearchAPIWrapper +from langchain_community.utilities.bing_search import BingSearchAPIWrapper class BingSearchAPIWrapperComponent(CustomComponent):