SwiftenumIntelligenceFlowPlannerSupport

enum IntelligenceFlowPlannerSupport.UserTurn

Structure

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

Members 12

  1. casecase executorRequest(IntelligenceFlowPlannerSupport.ExecutorRequest)
  2. casecase prescribedAction(IntelligenceFlowPlannerSupport.UserTurn.PrescribedActionInfo)
  3. casecase prescribedInvocation(IntelligenceFlow.PrescribedInvocation)
  4. casecase promptResolution(IntelligenceFlowPlannerSupport.UserTurn.PromptResolution)
  5. casecase siriXDirectInvocation(IntelligenceFlowPlannerSupport.SiriXDirectInvocation)
  6. casecase speech(IntelligenceFlowPlannerSupport.UserTurn.Speech)
  7. casecase text(IntelligenceFlowPlannerSupport.UserTurn.Text)
  8. initinit(transcript: IntelligenceFlowProto.TranscriptProtoUserTurn) throws -> IntelligenceFlowPlannerSupport.UserTurn
  9. initinit(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoUserTurn.V1) throws -> IntelligenceFlowPlannerSupport.UserTurn
  10. initinit(client: IntelligenceFlow.MessagePayload.UserTurn) -> IntelligenceFlowPlannerSupport.UserTurn
  11. typealiastypealias TranscriptType = IntelligenceFlowProto.TranscriptProtoUserTurn
  12. typealiastypealias VersionedTranscriptType = IntelligenceFlowProto.VersionedTranscriptProtoUserTurn
enum UserTurn {
    enum SpeechTurnType {
        enum CodingKeys {
            case activated
            case candidate
        }
        enum ActivatedCodingKeys {}
        enum CandidateCodingKeys {}
        case activated
        case candidate

        init(transcript: IntelligenceFlowProto.TranscriptProtoSpeechTurnType) throws
    }
    struct Speech {
        enum CodingKeys {
            case speechTurnType
            case audioRecordInfo
            case isUserRespondingToSystemPrompt
        }
        let speechTurnType: IntelligenceFlowPlannerSupport.UserTurn.SpeechTurnType
        let audioRecordInfo: IntelligenceFlowPlannerSupport.AudioRecordInfo?
        let isUserRespondingToSystemPrompt: Swift.Bool

        init(speechTurnType: IntelligenceFlowPlannerSupport.UserTurn.SpeechTurnType, audioRecordInfo: IntelligenceFlowPlannerSupport.AudioRecordInfo?, isUserRespondingToSystemPrompt: Swift.Bool)
        init(speechTurnType: IntelligenceFlowPlannerSupport.UserTurn.SpeechTurnType)
        init(transcript: IntelligenceFlowProto.TranscriptProtoUserTurnSpeech) throws
        init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoUserTurnSpeech.V1) throws
        init()
    }
    struct Text {
        enum CodingKeys {
            case isUserRespondingToSystemPrompt
        }
        let isUserRespondingToSystemPrompt: Swift.Bool

        init(isUserRespondingToSystemPrompt: Swift.Bool)
        init(transcript: IntelligenceFlowProto.TranscriptProtoUserTurnText) throws
        init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoUserTurnText.V1) throws
        init()
    }
    struct PromptResolution {
        enum CodingKeys {}
        init(transcript: IntelligenceFlowProto.TranscriptProtoUserTurnPromptResolution) throws
        init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoUserTurnPromptResolution.V1) throws
        init()
    }
    struct PrescribedActionInfo {
        enum CodingKeys {}
        init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoUserTurnPrescribedActionInfo.V1) throws
        init()
    }
    enum CodingKeys {
        case speech
        case text
        case promptResolution
        case executorRequest
        case siriXDirectInvocation
        case prescribedInvocation
        case prescribedAction
    }
    enum SpeechCodingKeys {
        case _0
    }
    enum TextCodingKeys {
        case _0
    }
    enum PromptResolutionCodingKeys {
        case _0
    }
    enum ExecutorRequestCodingKeys {
        case _0
    }
    enum SiriXDirectInvocationCodingKeys {
        case _0
    }
    enum PrescribedInvocationCodingKeys {
        case _0
    }
    enum PrescribedActionCodingKeys {
        case _0
    }
    case speech(IntelligenceFlowPlannerSupport.UserTurn.Speech)
    case text(IntelligenceFlowPlannerSupport.UserTurn.Text)
    case promptResolution(IntelligenceFlowPlannerSupport.UserTurn.PromptResolution)
    case executorRequest(IntelligenceFlowPlannerSupport.ExecutorRequest)
    case siriXDirectInvocation(IntelligenceFlowPlannerSupport.SiriXDirectInvocation)
    case prescribedInvocation(IntelligenceFlow.PrescribedInvocation)
    case prescribedAction(IntelligenceFlowPlannerSupport.UserTurn.PrescribedActionInfo)

    init(transcript: IntelligenceFlowProto.TranscriptProtoUserTurn) throws
    init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoUserTurn.V1) throws
    init(client: IntelligenceFlow.MessagePayload.UserTurn)
}