Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GoogleTool = BaseTool{ Name: "Google Search", Description: `This tool is useful ONLY in the following circumstances: - The user is asking about recent/current events or something that requires real-time information (sports scores, news, latest happenings/events, any information deemed recent; beyond your knowledge cutoff year. Recently, the current year is %d). - When you need to look up information about topics, these topics can be a wide range of topics, especially about humans, stocks, e.g., who won the Super Bowl? Is Jim Simons still alive? Who is in Scotland's Euro group this year? - The user is asking about some term you are totally unfamiliar with (it might be new). - The user explicitly asks you to browse, show images, or provide links to references. Always rephrase the input word in the best search term to get results.`, ToolFunc: func(query string, toolName string, meta map[string]interface{}) (string, []interface{}, error) { return google.GoogleSearchAndImages(query, nil) }, }
View Source
var ToolNodes = []BaseTool{}
View Source
var ToolNodesMeta = make(map[string]interface{})
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.