Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BraveSearcher ¶ added in v0.0.22
type BraveSearcher struct {
// contains filtered or unexported fields
}
BraveSearcher implements Searcher using the Brave Search API.
func NewBraveSearcher ¶ added in v0.0.22
func NewBraveSearcher(apiKey string, client *http.Client) *BraveSearcher
type DuckDuckGoLite ¶
type DuckDuckGoLite struct {
// contains filtered or unexported fields
}
DuckDuckGoLite implements Searcher using the DuckDuckGo lite HTML page.
func NewDuckDuckGoLite ¶
func NewDuckDuckGoLite(client *http.Client) *DuckDuckGoLite
type ExaMCPClient ¶ added in v0.0.247
type ExaMCPClient struct {
// contains filtered or unexported fields
}
ExaMCPClient implements search and fetch using Exa's remote MCP server.
func NewExaMCPClient ¶ added in v0.0.247
func NewExaMCPClient(url, apiKey string) *ExaMCPClient
type ExaSearcher ¶ added in v0.0.22
type ExaSearcher struct {
// contains filtered or unexported fields
}
ExaSearcher implements Searcher using the Exa API.
func NewExaSearcher ¶ added in v0.0.22
func NewExaSearcher(apiKey string, client *http.Client) *ExaSearcher
type GoogleSearcher ¶ added in v0.0.22
type GoogleSearcher struct {
// contains filtered or unexported fields
}
GoogleSearcher implements Searcher using Google Custom Search API.
func NewGoogleSearcher ¶ added in v0.0.22
func NewGoogleSearcher(apiKey, cx string, client *http.Client) *GoogleSearcher
type PerplexitySearcher ¶ added in v0.0.117
type PerplexitySearcher struct {
// contains filtered or unexported fields
}
PerplexitySearcher implements Searcher using the Perplexity Search API.
func NewPerplexitySearcher ¶ added in v0.0.117
func NewPerplexitySearcher(apiKey string, client *http.Client) *PerplexitySearcher
type Searcher ¶
type Searcher interface {
Search(ctx context.Context, query string, maxResults int) ([]Result, error)
}
Searcher performs web searches.
type TavilySearcher ¶ added in v0.0.117
type TavilySearcher struct {
// contains filtered or unexported fields
}
TavilySearcher implements Searcher using the Tavily Search API.
func NewTavilySearcher ¶ added in v0.0.117
func NewTavilySearcher(apiKey string, client *http.Client) *TavilySearcher
Click to show internal directories.
Click to hide internal directories.