SwiftstructIntelligencePlatformLibrary
struct IntelligencePlatformLibrary.ResponseGeneration.Event.Generation
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 2
Header
struct IntelligencePlatformLibrary.ResponseGeneration.Event.Generation { struct Started { var existing: Swift.Bool? init() } struct Ended { enum Source { case unknown(Swift.Int) case tool case fallback case override case clientCache case responseCatalog case nlgModel init?(_: Swift.String) var description: Swift.String { get } } enum FallbackReason { case unknown(Swift.Int) case notAdoptingNLGAPI case notInAllowList case deniedRequest case guardrailDetectedHallucination case modelDetectedHallucination case overridden case modelServerTimeout case modelServerError case detectedSafetyIssue init?(_: Swift.String) var description: Swift.String { get } } var handledError: IntelligencePlatformLibrary.IntelligenceFlowError? var source: IntelligencePlatformLibrary.ResponseGeneration.Event.Generation.Ended.Source? var characterCount: Swift.UInt32? var wordCount: Swift.UInt32? var fallbackReason: IntelligencePlatformLibrary.ResponseGeneration.Event.Generation.Ended.FallbackReason? var displayString: Swift.String? var spokenString: Swift.String? var catId: Swift.String? var staticDialogId: Swift.String? var transcriptEventId: Foundation.UUID? init() } struct Failed { var criticalError: IntelligencePlatformLibrary.IntelligenceFlowError? init() } enum StateInfo { case started(IntelligencePlatformLibrary.ResponseGeneration.Event.Generation.Started) case ended(IntelligencePlatformLibrary.ResponseGeneration.Event.Generation.Ended) case failed(IntelligencePlatformLibrary.ResponseGeneration.Event.Generation.Failed) } var stateInfo: IntelligencePlatformLibrary.ResponseGeneration.Event.Generation.StateInfo? init() }