RuntimeEntityAlternative
public struct RuntimeEntityAlternative : Codable, Equatable
An alternative value for the recognized entity.
-
The entity value that was recognized in the user input.
Declaration
Swift
public var value: String? -
A decimal percentage that represents Watson’s confidence in the recognized entity.
Declaration
Swift
public var confidence: Double? -
Initialize a
RuntimeEntityAlternativewith member variables.Declaration
Swift
public init( value: String? = nil, confidence: Double? = nil )Parameters
valueThe entity value that was recognized in the user input.
confidenceA decimal percentage that represents Watson’s confidence in the recognized entity.
Return Value
An initialized
RuntimeEntityAlternative.
View on GitHub
RuntimeEntityAlternative Structure Reference