RuntimeIntent
public struct RuntimeIntent : Codable, Equatable
An intent identified in the user input.
-
The name of the recognized intent.
Declaration
Swift
public var intent: String -
A decimal percentage that represents Watson’s confidence in the intent.
Declaration
Swift
public var confidence: Double -
Initialize a
RuntimeIntentwith member variables.Declaration
Swift
public init( intent: String, confidence: Double )Parameters
intentThe name of the recognized intent.
confidenceA decimal percentage that represents Watson’s confidence in the intent.
Return Value
An initialized
RuntimeIntent.
View on GitHub
RuntimeIntent Structure Reference