SwiftenumIntelligenceFlow

enum IntelligenceFlow.ActionOutcome

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 17

  1. casecase actionConfirmation(IntelligenceFlow.ActionConfirmation)
  2. casecase actionRequirement(IntelligenceFlow.ActionRequirement)
  3. casecase appRecommendation(IntelligenceFlow.RecommendedAction)
  4. casecase failure(IntelligenceFlow.ActionFailure)
  5. casecase generativeAssistantResult(IntelligenceFlow.GenerativeAssistantResult)
  6. casecase parameterCandidatesNotFound(IntelligenceFlow.ParameterCandidatesNotFound)
  7. casecase parameterConfirmation(IntelligenceFlow.ParameterConfirmation)
  8. casecase parameterDisambiguation(IntelligenceFlow.ParameterDisambiguation)
  9. casecase parameterNeedsValue(IntelligenceFlow.ParameterNeedsValue)
  10. casecase parameterNotAllowed(IntelligenceFlow.ParameterNotAllowed)
  11. casecase plannerModelFacingError(IntelligenceFlow.PlannerModelFacingError)
  12. casecase searchAndResolveResult(IntelligenceFlow.SearchAndResolveResult)
  13. casecase snippetStream(IntelligenceFlow.SnippetStream)
  14. casecase success(IntelligenceFlow.ActionSuccess)
  15. casecase toolDisambiguation(IntelligenceFlow.ToolDisambiguation)
  16. casecase valueDisambiguation(IntelligenceFlow.ValueDisambiguation)
  17. varvar asStatementOutcome: IntelligenceFlow.StatementOutcome { get }
enum ActionOutcome {
    enum CodingKeys {
        case success
        case snippetStream
        case actionConfirmation
        case toolDisambiguation
        case parameterNeedsValue
        case parameterConfirmation
        case parameterDisambiguation
        case parameterNotAllowed
        case parameterCandidatesNotFound
        case actionRequirement
        case valueDisambiguation
        case failure
        case searchAndResolveResult
        case appRecommendation
        case generativeAssistantResult
        case plannerModelFacingError
    }
    enum SuccessCodingKeys {
        case _0
    }
    enum SnippetStreamCodingKeys {
        case _0
    }
    enum ActionConfirmationCodingKeys {
        case _0
    }
    enum ToolDisambiguationCodingKeys {
        case _0
    }
    enum ParameterNeedsValueCodingKeys {
        case _0
    }
    enum ParameterConfirmationCodingKeys {
        case _0
    }
    enum ParameterDisambiguationCodingKeys {
        case _0
    }
    enum ParameterNotAllowedCodingKeys {
        case _0
    }
    enum ParameterCandidatesNotFoundCodingKeys {
        case _0
    }
    enum ActionRequirementCodingKeys {
        case _0
    }
    enum ValueDisambiguationCodingKeys {
        case _0
    }
    enum FailureCodingKeys {
        case _0
    }
    enum SearchAndResolveResultCodingKeys {
        case _0
    }
    enum AppRecommendationCodingKeys {
        case _0
    }
    enum GenerativeAssistantResultCodingKeys {
        case _0
    }
    enum PlannerModelFacingErrorCodingKeys {
        case _0
    }
    case success(IntelligenceFlow.ActionSuccess)
    case snippetStream(IntelligenceFlow.SnippetStream)
    case actionConfirmation(IntelligenceFlow.ActionConfirmation)
    case toolDisambiguation(IntelligenceFlow.ToolDisambiguation)
    case parameterNeedsValue(IntelligenceFlow.ParameterNeedsValue)
    case parameterConfirmation(IntelligenceFlow.ParameterConfirmation)
    case parameterDisambiguation(IntelligenceFlow.ParameterDisambiguation)
    case parameterNotAllowed(IntelligenceFlow.ParameterNotAllowed)
    case parameterCandidatesNotFound(IntelligenceFlow.ParameterCandidatesNotFound)
    case actionRequirement(IntelligenceFlow.ActionRequirement)
    case valueDisambiguation(IntelligenceFlow.ValueDisambiguation)
    case failure(IntelligenceFlow.ActionFailure)
    case searchAndResolveResult(IntelligenceFlow.SearchAndResolveResult)
    case appRecommendation(IntelligenceFlow.RecommendedAction)
    case generativeAssistantResult(IntelligenceFlow.GenerativeAssistantResult)
    case plannerModelFacingError(IntelligenceFlow.PlannerModelFacingError)

    var asStatementOutcome: IntelligenceFlow.StatementOutcome {
        get
    }
}