Class
DomainIntentFamilyPresentationCatalog
IntelligenceX.Shared
Centralizes user-facing domain-intent family presentation so diagnostics and chat use the same wording.
Inheritance
- object
- DomainIntentFamilyPresentationCatalog
Methods
public static string HumanizeFamilyToken(string? family) #Converts a canonical family token into a title-cased label.
Parameters
- family string?
Returns
stringpublic static DomainIntentFamilyPresentationInfo Resolve(string? family, IReadOnlyList<string>? representativePackIds = null, string? explicitDisplayName = null, string? explicitReplyExample = null, string? explicitChoiceDescription = null) #Resolves a human-friendly presentation for a domain-intent family.
Parameters
- family string?
- representativePackIds System.Collections.Generic.IReadOnlyList<string>? = null
- explicitDisplayName string? = null
- explicitReplyExample string? = null
- explicitChoiceDescription string? = null
public static string ResolveChoiceDescription(string? family, IReadOnlyList<string>? representativePackIds = null, string? explicitChoiceDescription = null) #Resolves a user-facing clarification description for the family.
Parameters
- family string?
- representativePackIds System.Collections.Generic.IReadOnlyList<string>? = null
- explicitChoiceDescription string? = null
Returns
stringpublic static string ResolveDisplayName(string? family, IReadOnlyList<string>? representativePackIds = null, string? explicitDisplayName = null) #Resolves a human-friendly family label.
Parameters
- family string?
- representativePackIds System.Collections.Generic.IReadOnlyList<string>? = null
- explicitDisplayName string? = null
Returns
stringpublic static string ResolveReplyExample(string? family, IReadOnlyList<string>? representativePackIds = null, string? explicitReplyExample = null, string? explicitDisplayName = null) #Resolves a short example of how a user might naturally select the family.
Parameters
- family string?
- representativePackIds System.Collections.Generic.IReadOnlyList<string>? = null
- explicitReplyExample string? = null
- explicitDisplayName string? = null
Returns
string