Documentation ¶
Overview ¶
Package duckduckgo contains an implementation of the tool interface with the duckduckgo api client.
Index ¶
Constants ¶
View Source
const DefaultUserAgent = "github.com/robermar23/langchaingo/tools/duckduckgo"
DefaultUserAgent defines a default value for user-agent header.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tool ¶
Tool defines a tool implementation for the DuckDuckGo Search.
func New ¶
New initializes a new DuckDuckGo Search tool with arguments for setting a max results per search query and a value for the user agent header.
func (Tool) Description ¶
Description returns a description for the tool.
Click to show internal directories.
Click to hide internal directories.