Files
stackdex_neu/StackDex/Services/FoundationModelEnhancer.swift
Matthias a60a76b797 Add scan flow MVP and local Axiom skill workspace
This snapshot establishes the camera-to-result recognition flow and related tests while checking in the project skill/docs assets required for the configured local tooling.
2026-04-19 21:11:32 +02:00

15 lines
569 B
Swift

import Foundation
protocol CardFieldEnhancing {
func enhance(draft: CardRecognitionDraft, rawText: String) async -> CardRecognitionDraft
}
struct NoOpCardFieldEnhancer: CardFieldEnhancing {
func enhance(draft: CardRecognitionDraft, rawText: String) async -> CardRecognitionDraft {
// TODO: Replace this with a Foundation Models-backed enhancer once the runtime
// integration is ready and verified locally. Keeping the boundary injectable means
// the call site stays stable while the MVP compiles cleanly today.
draft
}
}