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 more

    Declaration

    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 suggestion response.

    Declaration

    Swift

    public var maxSuggestions: Int?
  • For internal use only.

    Declaration

    Swift

    public var suggestionTextPolicy: String?
  • Initialize a WorkspaceSystemSettingsDisambiguation with 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

    prompt

    The text of the introductory prompt that accompanies disambiguation options presented to the user.

    noneOfTheAbovePrompt

    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.

    enabled

    Whether the disambiguation feature is enabled for the workspace.

    sensitivity

    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.

    randomize

    Whether the order in which disambiguation suggestions are presented should be randomized (but still influenced by relative confidence).

    maxSuggestions

    The maximum number of disambigation suggestions that can be included in a suggestion response.

    suggestionTextPolicy

    For internal use only.

    Return Value

    An initialized WorkspaceSystemSettingsDisambiguation.