Files
OSGKeyboard/OSGKeyboardMac/MacDictationResult.swift
Rocky e5a83843db Expand onboarding and adaptive keyboard intelligence
Add resilient usage analytics, OOBE gateway flows, clipboard semantic ranking, purchase recovery, style learning, and managed current-information search.
2026-08-22 16:33:18 +08:00

18 lines
596 B
Swift

// MacDictationResult.swift
// OSGKeyboard · Mac
import Foundation
struct MacDictationResult: Sendable, Equatable {
let text: String
/// Corrected ASR transcript before LLM polishing; never shown in History.
let prePolishText: String
/// Exact style metadata returned by the successful polish request.
let polishStyleID: String?
let polishStylePrompt: String?
/// Shown when DeepSeek / cloud polish failed but raw ASR was delivered.
let polishWarning: String?
/// Non-fatal per-chunk ASR issues from long utterance chunking.
let chunkWarning: String?
}