mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-04 07:20:10 +00:00
Imported from andrewyng/aisuite@1b4bbf303e (contents of its platform/ directory, hoisted to the repo root). Development history prior to this commit lives in that repository. Co-authored-by: Devika <devikaverma11@gmail.com>
29 lines
644 B
Python
29 lines
644 B
Python
"""Web search — a keyless DuckDuckGo default + configurable third-party providers."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .providers import (
|
|
BraveProvider,
|
|
DuckDuckGoProvider,
|
|
SearchResult,
|
|
TavilyProvider,
|
|
WebSearchProvider,
|
|
build_provider,
|
|
provider_names,
|
|
)
|
|
from .fetch import make_web_fetch_tool
|
|
from .tool import make_web_search_tool, resolve_provider
|
|
|
|
__all__ = [
|
|
"SearchResult",
|
|
"WebSearchProvider",
|
|
"DuckDuckGoProvider",
|
|
"TavilyProvider",
|
|
"BraveProvider",
|
|
"build_provider",
|
|
"provider_names",
|
|
"make_web_search_tool",
|
|
"make_web_fetch_tool",
|
|
"resolve_provider",
|
|
]
|