Inspects a comment (messageText) posted on an anchored conversation to detect whether it
references any FLS-governed fields on entityInfo, and stamps any newly detected field names
into conversation.AnchorMetadataObject.restrictedFields.
Two-stage detection:
Stage 1 (Deterministic, 0ms): Checks direct field anchors (AnchorType === 'Field'),
restricted field names/labels (Name, camelCase words, DisplayName), and actual restricted
field values loaded from the linked record.
Stage 2 (Semantic LLM Classifier): If entityInfo has remaining unmatched FLS fields and
messageText is non-empty, invokes either the registered RestrictedFieldLLMClassifierCallback
or a lightweight AIEngine language model to detect semantic/paraphrased references
(for example "making six figures" → Salary).
Inspects a comment (
messageText) posted on an anchored conversation to detect whether it references any FLS-governed fields onentityInfo, and stamps any newly detected field names intoconversation.AnchorMetadataObject.restrictedFields.Two-stage detection:
AnchorType === 'Field'), restricted field names/labels (Name, camelCase words,DisplayName), and actual restricted field values loaded from the linked record.entityInfohas remaining unmatched FLS fields andmessageTextis non-empty, invokes either the registeredRestrictedFieldLLMClassifierCallbackor a lightweightAIEnginelanguage model to detect semantic/paraphrased references (for example"making six figures"→Salary).