Orami01's picture
Upload 274 files
9c48ae2
raw
history blame
520 Bytes
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Time : 2023/4/29 15:35
@Author : alexanderwu
@File : __init__.py
@From : https://github.com/geekan/MetaGPT/blob/main/metagpt/tools/__init__.py
"""
from enum import Enum
class SearchEngineType(Enum):
SERPAPI_GOOGLE = "serpapi"
SERPER_GOOGLE = "serper"
DIRECT_GOOGLE = "google"
DUCK_DUCK_GO = "ddg"
CUSTOM_ENGINE = "custom"
class WebBrowserEngineType(Enum):
PLAYWRIGHT = "playwright"
SELENIUM = "selenium"
CUSTOM = "custom"