When false, the rating UI renders as a read-only badge instead of an editable
button. Set by the parent (MessageItemComponent) to false when the current
user is not the conversation owner — the rating storage is a single field on
the ConversationDetail row, so only the owner is allowed to mutate it.
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
Column on the entity that stores the free-form feedback.
Entity name to load/update for the rating. Defaults to MJ's
MJ: Conversation Details (which has UserRating/UserFeedback).
Skip-Brain hosts pass 'Conversation Details__Skip'.
Column on the entity that stores the 1-10 rating.
OptionalratingsOptional: legacy pre-loaded ratings array (no longer used by storage; kept to preserve the input shape used by existing call sites like MessageItemComponent).
StaticɵdirStaticɵfacReturns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Single-rating-per-message rating UI for an AI conversation response.
Storage model: the rating + free-form comment live directly on the ConversationDetail row, in
UserRating(1-10, nullable) andUserFeedback(nvarchar(max), nullable). This matches MJ's own pattern on__mj.ConversationDetailand Skip's matching columns onSkip.ConversationDetail. The host app picks the entity via @Input.