NmAiExplanationService class abstract
Abstract interface for AI explanation service.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
explainField(
{required String fieldName, required String fieldValue, String? propertyContext, NmExplanationStyle style = NmExplanationStyle.detailed}) → Future< NmFieldExplanation> - Generate an explanation for a specific field.
-
explainFields(
{required Map< String, String> fields, String? propertyContext, NmExplanationStyle style = NmExplanationStyle.detailed}) → Future<List< NmFieldExplanation> > - Generate explanations for multiple fields.
-
explainTerm(
String term) → Future< String> - Get explanation for a term or concept.
-
isAvailable(
) → Future< bool> - Check if the service is available.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited