WorkspaceSystemSettingsDisambiguation
public struct WorkspaceSystemSettingsDisambiguation : Codable, Equatable
Workspace settings related to the disambiguation feature.
-
The sensitivity of the disambiguation feature to intent detection uncertainty. Higher sensitivity means that the disambiguation feature is triggered more often and includes more choices.
See moreDeclaration
Swift
public enum Sensitivity : String -
The text of the introductory prompt that accompanies disambiguation options presented to the user.
Declaration
Swift
public var prompt: String? -
The user-facing label for the option users can select if none of the suggested options is correct. If no value is specified for this property, this option does not appear.
Declaration
Swift
public var noneOfTheAbovePrompt: String? -
Whether the disambiguation feature is enabled for the workspace.
Declaration
Swift
public var enabled: Bool? -
The sensitivity of the disambiguation feature to intent detection uncertainty. Higher sensitivity means that the disambiguation feature is triggered more often and includes more choices.
Declaration
Swift
public var sensitivity: String? -
Whether the order in which disambiguation suggestions are presented should be randomized (but still influenced by relative confidence).
Declaration
Swift
public var randomize: Bool? -
The maximum number of disambigation suggestions that can be included in a
suggestionresponse.Declaration
Swift
public var maxSuggestions: Int? -
For internal use only.
Declaration
Swift
public var suggestionTextPolicy: String? -
init(prompt:noneOfTheAbovePrompt: enabled: sensitivity: randomize: maxSuggestions: suggestionTextPolicy: ) Initialize a
WorkspaceSystemSettingsDisambiguationwith member variables.Declaration
Swift
public init( prompt: String? = nil, noneOfTheAbovePrompt: String? = nil, enabled: Bool? = nil, sensitivity: String? = nil, randomize: Bool? = nil, maxSuggestions: Int? = nil, suggestionTextPolicy: String? = nil )Parameters
promptThe text of the introductory prompt that accompanies disambiguation options presented to the user.
noneOfTheAbovePromptThe user-facing label for the option users can select if none of the suggested options is correct. If no value is specified for this property, this option does not appear.
enabledWhether the disambiguation feature is enabled for the workspace.
sensitivityThe sensitivity of the disambiguation feature to intent detection uncertainty. Higher sensitivity means that the disambiguation feature is triggered more often and includes more choices.
randomizeWhether the order in which disambiguation suggestions are presented should be randomized (but still influenced by relative confidence).
maxSuggestionsThe maximum number of disambigation suggestions that can be included in a
suggestionresponse.suggestionTextPolicyFor internal use only.
Return Value
An initialized
WorkspaceSystemSettingsDisambiguation.
View on GitHub
WorkspaceSystemSettingsDisambiguation Structure Reference