Update import statement for GoogleSerperAPIWrapper in GoogleSerperAPIWrapper.py
This commit is contained in:
parent
7611ec7f94
commit
5c7ee7e8b1
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ from typing import Dict, Optional
|
||||||
|
|
||||||
# Assuming the existence of GoogleSerperAPIWrapper class in the serper module
|
# 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
|
# 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):
|
class GoogleSerperAPIWrapperComponent(CustomComponent):
|
||||||
|
|
@ -22,7 +22,7 @@ class GoogleSerperAPIWrapperComponent(CustomComponent):
|
||||||
"advanced": False,
|
"advanced": False,
|
||||||
"dynamic": False,
|
"dynamic": False,
|
||||||
"info": '',
|
"info": '',
|
||||||
"type": "dict",
|
"field_type": "dict",
|
||||||
"list": False,
|
"list": False,
|
||||||
"value": {
|
"value": {
|
||||||
"news": "news",
|
"news": "news",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue