WorkspaceSystemSettings
public struct WorkspaceSystemSettings : Codable, Equatable
Global settings for the workspace.
-
Workspace settings related to the Watson Assistant user interface.
Declaration
Swift
public var tooling: WorkspaceSystemSettingsTooling?
-
Workspace settings related to the disambiguation feature.
Declaration
Swift
public var disambiguation: WorkspaceSystemSettingsDisambiguation?
-
For internal use only.
Declaration
Swift
public var humanAgentAssist: [String : JSON]?
-
Whether spelling correction is enabled for the workspace.
Declaration
Swift
public var spellingSuggestions: Bool?
-
Whether autocorrection is enabled for the workspace. If spelling correction is enabled and this property is
false
, any suggested corrections are returned in the suggested_text property of the message response. If this property istrue
, any corrections are automatically applied to the user input, and the original text is returned in the original_text property of the message response.Declaration
Swift
public var spellingAutoCorrect: Bool?
-
Workspace settings related to the behavior of system entities.
Declaration
Swift
public var systemEntities: WorkspaceSystemSettingsSystemEntities?
-
Workspace settings related to detection of irrelevant input.
Declaration
Swift
public var offTopic: WorkspaceSystemSettingsOffTopic?
-
init(tooling:
disambiguation: humanAgentAssist: spellingSuggestions: spellingAutoCorrect: systemEntities: offTopic: ) Initialize a
WorkspaceSystemSettings
with member variables.Declaration
Swift
public init( tooling: WorkspaceSystemSettingsTooling? = nil, disambiguation: WorkspaceSystemSettingsDisambiguation? = nil, humanAgentAssist: [String: JSON]? = nil, spellingSuggestions: Bool? = nil, spellingAutoCorrect: Bool? = nil, systemEntities: WorkspaceSystemSettingsSystemEntities? = nil, offTopic: WorkspaceSystemSettingsOffTopic? = nil )
Parameters
tooling
Workspace settings related to the Watson Assistant user interface.
disambiguation
Workspace settings related to the disambiguation feature.
humanAgentAssist
For internal use only.
spellingSuggestions
Whether spelling correction is enabled for the workspace.
spellingAutoCorrect
Whether autocorrection is enabled for the workspace. If spelling correction is enabled and this property is
false
, any suggested corrections are returned in the suggested_text property of the message response. If this property istrue
, any corrections are automatically applied to the user input, and the original text is returned in the original_text property of the message response.systemEntities
Workspace settings related to the behavior of system entities.
offTopic
Workspace settings related to detection of irrelevant input.
Return Value
An initialized
WorkspaceSystemSettings
.