SwiftenumIntelligenceFlowPlannerSupport
enum IntelligenceFlowPlannerSupport.UserTurn
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
Members 12
- case
case executorRequest(IntelligenceFlowPlannerSupport.ExecutorRequest) - case
case prescribedAction(IntelligenceFlowPlannerSupport.UserTurn.PrescribedActionInfo) - case
case prescribedInvocation(IntelligenceFlow.PrescribedInvocation) - case
case promptResolution(IntelligenceFlowPlannerSupport.UserTurn.PromptResolution) - case
case siriXDirectInvocation(IntelligenceFlowPlannerSupport.SiriXDirectInvocation) - case
case speech(IntelligenceFlowPlannerSupport.UserTurn.Speech) - case
case text(IntelligenceFlowPlannerSupport.UserTurn.Text) - init
init(transcript: IntelligenceFlowProto.TranscriptProtoUserTurn) throws -> IntelligenceFlowPlannerSupport.UserTurn - init
init(currentVersion: IntelligenceFlowProto.VersionedTranscriptProtoUserTurn.V1) throws -> IntelligenceFlowPlannerSupport.UserTurn - init
init(client: IntelligenceFlow.MessagePayload.UserTurn) -> IntelligenceFlowPlannerSupport.UserTurn - typealias
typealias TranscriptType = IntelligenceFlowProto.TranscriptProtoUserTurn - typealias
typealias VersionedTranscriptType = IntelligenceFlowProto.VersionedTranscriptProtoUserTurn
Header
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) }