Documentation
¶
Index ¶
Constants ¶
View Source
const WebSearchToolName = "web_search"
Variables ¶
This section is empty.
Functions ¶
func NewWebSearchTool ¶
Types ¶
type SearchResult ¶
type WebSearchTool ¶
type WebSearchTool struct {
// contains filtered or unexported fields
}
func (*WebSearchTool) Description ¶
func (t *WebSearchTool) Description() string
func (*WebSearchTool) Execute ¶
func (t *WebSearchTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)
func (*WebSearchTool) Metadata ¶
func (t *WebSearchTool) Metadata() types.ToolMetadata
func (*WebSearchTool) Name ¶
func (t *WebSearchTool) Name() string
func (*WebSearchTool) Schema ¶
func (t *WebSearchTool) Schema() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.