struct
AI::Google::Tools::GoogleSearch
- AI::Google::Tools::GoogleSearch
- Struct
- Value
- Object
Overview
Google Search grounding tool.
Gives Google direct access to real-time web content. Must have name "google_search".
Defined in:
ai/google/google_tools.crConstant Summary
-
ID =
"google.google_search" -
NAME =
"google_search"
Constructors
Instance Method Summary
- #args : Hash(String, JSON::Any)
-
#dynamic_threshold : Float64 | Nil
Threshold for dynamic retrieval (if not set, a system default is used).
- #id : String
-
#mode : String | Nil
Mode of the predictor to be used in dynamic retrieval.
- #name : String
- #type : String
Constructor Detail
Instance Method Detail
def dynamic_threshold : Float64 | Nil
#
Threshold for dynamic retrieval (if not set, a system default is used).
def mode : String | Nil
#
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