WebSearchGateway

Pluggable web-search backend. Concrete implementations live in their own modules (e.g. mojentic-websearch-serpapi) so callers can pick a vendor without dragging in extra dependencies.

Functions

Link copied to clipboard
abstract suspend fun search(query: String, locale: String? = null): List<WebSearchResult>

Run a search and return the organic (non-ad, non-knowledge-panel) results.