Grounding specification.
Fields
include_grounding_supports
Optional. Specifies whether to include grounding_supports in the answer.
The default value is false.
When this field is set to true, returned answer will have
grounding_score and will contain GroundingSupports for each claim.
filtering_level
Optional. Specifies whether to enable the filtering based on grounding score and at what level.
Implementations
new
fn new() -> Self
set_include_grounding_supports
fn set_include_grounding_supports<T: std::convert::Into<bool>>(self, v: T) -> Self
Sets the value of [include_grounding_supports][crate::model::answer_query_request::GroundingSpec::include_grounding_supports].
set_filtering_level
fn set_filtering_level<T: std::convert::Into<crate::model::answer_query_request::grounding_spec::FilteringLevel>>(self, v: T) -> Self
Sets the value of [filtering_level][crate::model::answer_query_request::GroundingSpec::filtering_level].