Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProbeTavily ¶
ProbeTavily verifies a single Tavily API key by issuing a minimal search directly against the Tavily API. Unlike Execute, it never falls back to DuckDuckGo, so an invalid or exhausted key surfaces as an error instead of being silently masked by the fallback. A non-empty proxy routes the request. On success it returns a short human-readable detail (e.g. "1 result").
Types ¶
type CyberhubSearch ¶
type CyberhubSearch struct {
// contains filtered or unexported fields
}
func NewCyberhubSearch ¶
func NewCyberhubSearch(index *association.Index) *CyberhubSearch
func (*CyberhubSearch) Name ¶
func (c *CyberhubSearch) Name() string
func (*CyberhubSearch) Usage ¶
func (c *CyberhubSearch) Usage() string
type FetchCommand ¶
type FetchCommand struct {
// contains filtered or unexported fields
}
func NewFetchCommand ¶
func NewFetchCommand() *FetchCommand
func (*FetchCommand) ClearCache ¶
func (c *FetchCommand) ClearCache()
func (*FetchCommand) Name ¶
func (c *FetchCommand) Name() string
func (*FetchCommand) Usage ¶
func (c *FetchCommand) Usage() string
type TavilySearch ¶
type TavilySearch struct {
// contains filtered or unexported fields
}
func NewTavilySearch ¶
func NewTavilySearch(builtinKeys string) *TavilySearch
func (*TavilySearch) SetProxy ¶
func (c *TavilySearch) SetProxy(proxyURLStr string)
type WebSearchTool ¶
type WebSearchTool struct {
// contains filtered or unexported fields
}
func NewWebSearchTool ¶
func NewWebSearchTool(p provider.Provider, tavily *TavilySearch) *WebSearchTool
func (*WebSearchTool) Definition ¶
func (t *WebSearchTool) Definition() *tool.Definition
func (*WebSearchTool) Description ¶
func (t *WebSearchTool) Description() string
func (*WebSearchTool) Name ¶
func (t *WebSearchTool) Name() string
Click to show internal directories.
Click to hide internal directories.