Class GoogleSearchRetrieval
Tool to retrieve public web data for grounding, powered by Google.
public record GoogleSearchRetrieval : IEquatable<GoogleSearchRetrieval>
- Inheritance
-
GoogleSearchRetrieval
- Implements
- Inherited Members
Properties
DynamicRetrievalConfig
Specifies the dynamic retrieval configuration for the given source.
[JsonPropertyName("dynamicRetrievalConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public DynamicRetrievalConfig? DynamicRetrievalConfig { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a GoogleSearchRetrieval object.
public static GoogleSearchRetrieval? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- GoogleSearchRetrieval
The deserialized GoogleSearchRetrieval object, or null if deserialization fails.