Fixes #27 — AI-generated example sentences on verb detail
Tapping a verb now shows six example sentences beneath the conjugation table, one per core tense (Present, Preterite, Imperfect, Future, Present Subjunctive, Imperative). Each example renders the tense label, Spanish sentence, and English translation in the DeckStudyView style. Generation uses Foundation Models with a @Generable schema that pins each response to the requested tenseId and forces tú/nosotros subjects for imperatives. Results are cached as JSON in the Caches directory keyed by verb id (DictionaryService pattern); cache misses regenerate on demand. Devices without Apple Intelligence see an inline notice instead of the loading state. No network dependency. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -53,16 +53,6 @@
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "C77B065CF67D1F5128E10CC7"
|
||||
BuildableName = "ConjugaUITests.xctest"
|
||||
BlueprintName = "ConjugaUITests"
|
||||
ReferencedContainer = "container:Conjuga.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
<CommandLineArguments>
|
||||
</CommandLineArguments>
|
||||
|
||||
Reference in New Issue
Block a user