You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cant get rid of the GOOGLE_API_ID and GOOGLE_CSE_ID even though I am using GoogleSerperAPIWrapper(). I added random values for these both and still I am not able to make it work.
Error:
Traceback (most recent call last):
File "c:\python\web_explorer_sample.py", line 25, in <module>
web_retriever = WebResearchRetriever.from_llm(
File "C:\python\env\lib\site-packages\langchain\retrievers\web_research.py", line 128, in from_llm
return cls(
File "C:\python\env\lib\site-packages\langchain\load\serializable.py", line 90, in __init__
super().__init__(**kwargs)
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 7 validation errors for WebResearchRetriever
search -> aiosession
extra fields not permitted (type=value_error.extra)
search -> gl
extra fields not permitted (type=value_error.extra)
search -> hl
extra fields not permitted (type=value_error.extra)
search -> result_key_for_type
extra fields not permitted (type=value_error.extra)
search -> serper_api_key
extra fields not permitted (type=value_error.extra)
search -> tbs
extra fields not permitted (type=value_error.extra)
search -> type
extra fields not permitted (type=value_error.extra)
The text was updated successfully, but these errors were encountered:
Cant get rid of the
GOOGLE_API_ID
andGOOGLE_CSE_ID
even though I am using GoogleSerperAPIWrapper(). I added random values for these both and still I am not able to make it work.Error:
The text was updated successfully, but these errors were encountered: