struct

AI::Google::Tools::GoogleSearch

Inherits Struct < Value < Object

Google Search grounding tool.

Gives Google direct access to real-time web content. Must have name "google_search".

Constants

ID = "google.google_search"
NAME = "google_search"

Constructors

new(mode : String | Nil = nil, dynamic_threshold : Float64 | Nil = nil)
Source

Instance methods

args
Source
dynamic_threshold

Threshold for dynamic retrieval (if not set, a system default is used).

Source
mode

Mode of the predictor to be used in dynamic retrieval.

  • "MODE_DYNAMIC": Run retrieval only when system decides it is necessary
  • "MODE_UNSPECIFIED": Always trigger retrieval
Source
name
Source
type
Source