SwiftprotocolSiriInferenceFlow
EntityResolutionStrategy
protocol SiriInferenceFlow.EntityResolutionStrategy
Members 9
- associatedtype
associatedtype Entity - func
method descriptor for chooseEntity(fromEntitiesToDisambiguate: [A.Entity], nlIntent: SiriOntology.NLIntent) -> A.Entity? - func
method descriptor for extractConfirmationStatus(from: SiriOntology.NLIntent) -> Bool - func
method descriptor for extractEntity(from: SiriOntology.NLIntent?) -> A.Entity? - func
method descriptor for getCommandUtterance(for: A.Entity, disambiguationListIndex: Int) -> String - func
method descriptor for getCommandUtterance(for: A.Entity, confirmationStatus: Bool) -> String - func
method descriptor for makeNLContextUpdate(from: [SiriKitFlow.TemplatingResult]) -> SiriKitFlow.NLContextUpdate - func
method descriptor for setResolvedEntity(on: INIntent, with: A.Entity) -> INIntent? - func
method descriptor for shouldResolve(for: SiriOntology.NLIntent) -> Bool
Header
protocol EntityResolutionStrategy { associatedtype Entity func shouldResolve(for: SiriOntology.NLIntent) -> Swift.Bool func extractEntity(from: SiriOntology.NLIntent?) -> Self.Entity? func extractConfirmationStatus(from: SiriOntology.NLIntent) -> Swift.Bool func chooseEntity(fromEntitiesToDisambiguate: [Self.Entity], nlIntent: SiriOntology.NLIntent) -> Self.Entity? func getCommandUtterance(for: Self.Entity, disambiguationListIndex: Swift.Int) -> Swift.String func getCommandUtterance(for: Self.Entity, confirmationStatus: Swift.Bool) -> Swift.String func makeNLContextUpdate(from: [SiriKitFlow.TemplatingResult]) -> SiriKitFlow.NLContextUpdate func setResolvedEntity(on: __C.INIntent, with: Self.Entity) -> __C.INIntent? }