Documentation
¶
Index ¶
- Constants
- func IsValidMode(mode string) bool
- func NewExaProvider() *internalproviders.ExaProvider
- func NewExaProviderWithAPIKey(apiKey string) *internalproviders.ExaProvider
- func NewJinaProvider() *internalproviders.JinaProvider
- func NewJinaProviderWithAPIKey(apiKey string) *internalproviders.JinaProvider
- func NewLangSearchProvider() *internalproviders.LangSearchProvider
- func NewLangSearchProviderWithAPIKey(apiKey string) *internalproviders.LangSearchProvider
- func NewSearXNGProvider() *internalproviders.SearXNGProvider
- func NewSearXNGProviderWithBaseURL(baseURL string) *internalproviders.SearXNGProvider
- func NewSearXNGProviderWithConfig(baseURL, username, password string) *internalproviders.SearXNGProvider
- func NewTavilyProvider() *internalproviders.TavilyProvider
- func NewTavilyProviderWithAPIKey(apiKey string) *internalproviders.TavilyProvider
- type ProviderMode
- type ProviderOutput
- type SearchHit
- type SearchInput
- type SearchProvider
Constants ¶
View Source
const ( ProviderModeAuto = internalproviders.ProviderModeAuto ProviderModeCustom = internalproviders.ProviderModeCustom ProviderModeTavily = internalproviders.ProviderModeTavily ProviderModeSearXNG = internalproviders.ProviderModeSearXNG ProviderModeJina = internalproviders.ProviderModeJina ProviderModeExa = internalproviders.ProviderModeExa ProviderModeLangSearch = internalproviders.ProviderModeLangSearch ProviderModeFirecrawl = internalproviders.ProviderModeFirecrawl ProviderModeBing = internalproviders.ProviderModeBing ProviderModeYou = internalproviders.ProviderModeYou ProviderModeLinkup = internalproviders.ProviderModeLinkup ProviderModeMojeek = internalproviders.ProviderModeMojeek )
Variables ¶
This section is empty.
Functions ¶
func IsValidMode ¶
func NewExaProvider ¶
func NewExaProvider() *internalproviders.ExaProvider
func NewExaProviderWithAPIKey ¶
func NewExaProviderWithAPIKey(apiKey string) *internalproviders.ExaProvider
func NewJinaProvider ¶
func NewJinaProvider() *internalproviders.JinaProvider
func NewJinaProviderWithAPIKey ¶
func NewJinaProviderWithAPIKey(apiKey string) *internalproviders.JinaProvider
func NewLangSearchProvider ¶
func NewLangSearchProvider() *internalproviders.LangSearchProvider
func NewLangSearchProviderWithAPIKey ¶
func NewLangSearchProviderWithAPIKey(apiKey string) *internalproviders.LangSearchProvider
func NewSearXNGProvider ¶
func NewSearXNGProvider() *internalproviders.SearXNGProvider
func NewSearXNGProviderWithBaseURL ¶
func NewSearXNGProviderWithBaseURL(baseURL string) *internalproviders.SearXNGProvider
func NewSearXNGProviderWithConfig ¶
func NewSearXNGProviderWithConfig(baseURL, username, password string) *internalproviders.SearXNGProvider
func NewTavilyProvider ¶
func NewTavilyProvider() *internalproviders.TavilyProvider
func NewTavilyProviderWithAPIKey ¶
func NewTavilyProviderWithAPIKey(apiKey string) *internalproviders.TavilyProvider
Types ¶
type ProviderMode ¶
type ProviderMode = internalproviders.ProviderMode
func ProviderModeFromEnv ¶
func ProviderModeFromEnv() ProviderMode
type ProviderOutput ¶
type ProviderOutput = internalproviders.ProviderOutput
func Search ¶
func Search(input SearchInput) (ProviderOutput, error)
type SearchHit ¶
type SearchHit = internalproviders.SearchHit
type SearchInput ¶
type SearchInput = internalproviders.SearchInput
type SearchProvider ¶
type SearchProvider = internalproviders.SearchProvider
Click to show internal directories.
Click to hide internal directories.