ToolDataStoreToolModalityConfigGroundingConfig class
Constructors
-
ToolDataStoreToolModalityConfigGroundingConfig({Input<
bool?> ? disabled, Input<double?> ? groundingLevel}) -
Creates a new ToolDataStoreToolModalityConfigGroundingConfig.
disabledWhether grounding is disabled.groundingLevelThe groundedness threshold of the answer based on the retrieved sources.const -
ToolDataStoreToolModalityConfigGroundingConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
disabled
→ Input<
bool?> ? -
Whether grounding is disabled.
final
-
groundingLevel
→ Input<
double?> ? -
The groundedness threshold of the answer based on the retrieved sources.
The value has a configurable range of
1, 5. The level is used to threshold the groundedness of the answer, meaning that all responses with a groundedness score below the threshold will fall back to returning relevant snippets only. For example, a level of 3 means that the groundedness score must be 3 or higher for the response to be returned.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited