mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 09:16:21 +02:00
add serper search api
This commit is contained in:
parent
d651ed2882
commit
6a4b980c40
9 changed files with 301 additions and 7 deletions
|
|
@ -55,6 +55,7 @@ class Config(metaclass=Singleton):
|
|||
self.deployment_id = self._get('DEPLOYMENT_ID')
|
||||
|
||||
self.serpapi_api_key = self._get('SERPAPI_API_KEY')
|
||||
self.serper_api_key = self._get('SERPER_API_KEY')
|
||||
self.google_api_key = self._get('GOOGLE_API_KEY')
|
||||
self.google_cse_id = self._get('GOOGLE_CSE_ID')
|
||||
self.search_engine = self._get('SEARCH_ENGINE', SearchEngineType.SERPAPI_GOOGLE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue