gen-cards: regenerate Use-it block
Browse files
README.md
CHANGED
|
@@ -43,7 +43,7 @@ device.
|
|
| 43 |
<!-- gen-cards:use-it begin id=s1-mini (managed by scripts/gen-cards β edit cards.json / QuickStart.swift, not this block) -->
|
| 44 |
## Use it
|
| 45 |
|
| 46 |
-
**New to Core AI? [Start with CoreAIKit 0.7.
|
| 47 |
|
| 48 |
β‘ **One line** β this model is the default behind the kit's task op
|
| 49 |
(`import CoreAIOps`; no session, no model plumbing, downloads on first use):
|
|
@@ -52,13 +52,13 @@ device.
|
|
| 52 |
let clean = try await CoreAI.tidyTranscript(rawTranscript)
|
| 53 |
```
|
| 54 |
|
| 55 |
-
Every op, one shape β [Cookbook](https://github.com/john-rocky/coreai-kit/blob/0.7.
|
| 56 |
|
| 57 |
-
βΆοΈ **Run it (source)** β the [Tidy runner](https://github.com/john-rocky/coreai-kit/tree/0.7.
|
| 58 |
(GUI + CLI, the three control axes as pickers):
|
| 59 |
|
| 60 |
```bash
|
| 61 |
-
git clone --branch 0.7.
|
| 62 |
export DEVELOPER_DIR=/Applications/Xcode-27.0.0-RC.app/Contents/Developer
|
| 63 |
open -a /Applications/Xcode-27.0.0-RC.app coreai-kit/Examples/Tidy/Tidy.xcodeproj
|
| 64 |
# β Run, then pick "S1-mini by Superwhisper" in the model picker
|
|
@@ -83,14 +83,14 @@ let result = try await tidier.normalize(transcript)
|
|
| 83 |
// result: the transcript as written text β English only; filler-only input returns ""
|
| 84 |
```
|
| 85 |
|
| 86 |
-
The take-home is [`Examples/Tidy/Sources/QuickStart.swift`](https://github.com/john-rocky/coreai-kit/blob/0.7.
|
| 87 |
β this exact code as one typed function, no UI; both the runner's GUI and its CLI call it.
|
| 88 |
Cleaning transcripts repeatedly? Keep the `KitTextNormalizer` loaded and call
|
| 89 |
`normalize(_:)` per transcript β the 796 MB load is what you are avoiding.
|
| 90 |
|
| 91 |
**Integration checklist**
|
| 92 |
|
| 93 |
-
- SPM: `https://github.com/john-rocky/coreai-kit` (exact **0.7.
|
| 94 |
- Info.plist: none needed
|
| 95 |
- Entitlements: none needed
|
| 96 |
- First run downloads the model β ~796 MB (Mac) / ~796 MB (iPhone) β then it loads from the
|
|
|
|
| 43 |
<!-- gen-cards:use-it begin id=s1-mini (managed by scripts/gen-cards β edit cards.json / QuickStart.swift, not this block) -->
|
| 44 |
## Use it
|
| 45 |
|
| 46 |
+
**New to Core AI? [Start with CoreAIKit 0.7.3](https://github.com/john-rocky/coreai-kit#readme).** Follow its requirements and first-run steps for `qwen3-0.6b`, then open the same release's [ChatDemo](https://github.com/john-rocky/coreai-kit/tree/0.7.3/Examples/ChatDemo). The README records the tested OS/SDK and download size; model and device coverage is stated per example.
|
| 47 |
|
| 48 |
β‘ **One line** β this model is the default behind the kit's task op
|
| 49 |
(`import CoreAIOps`; no session, no model plumbing, downloads on first use):
|
|
|
|
| 52 |
let clean = try await CoreAI.tidyTranscript(rawTranscript)
|
| 53 |
```
|
| 54 |
|
| 55 |
+
Every op, one shape β [Cookbook](https://github.com/john-rocky/coreai-kit/blob/0.7.3/docs/COOKBOOK.md).
|
| 56 |
|
| 57 |
+
βΆοΈ **Run it (source)** β the [Tidy runner](https://github.com/john-rocky/coreai-kit/tree/0.7.3/Examples/Tidy)
|
| 58 |
(GUI + CLI, the three control axes as pickers):
|
| 59 |
|
| 60 |
```bash
|
| 61 |
+
git clone --branch 0.7.3 --depth 1 https://github.com/john-rocky/coreai-kit
|
| 62 |
export DEVELOPER_DIR=/Applications/Xcode-27.0.0-RC.app/Contents/Developer
|
| 63 |
open -a /Applications/Xcode-27.0.0-RC.app coreai-kit/Examples/Tidy/Tidy.xcodeproj
|
| 64 |
# β Run, then pick "S1-mini by Superwhisper" in the model picker
|
|
|
|
| 83 |
// result: the transcript as written text β English only; filler-only input returns ""
|
| 84 |
```
|
| 85 |
|
| 86 |
+
The take-home is [`Examples/Tidy/Sources/QuickStart.swift`](https://github.com/john-rocky/coreai-kit/blob/0.7.3/Examples/Tidy/Sources/QuickStart.swift)
|
| 87 |
β this exact code as one typed function, no UI; both the runner's GUI and its CLI call it.
|
| 88 |
Cleaning transcripts repeatedly? Keep the `KitTextNormalizer` loaded and call
|
| 89 |
`normalize(_:)` per transcript β the 796 MB load is what you are avoiding.
|
| 90 |
|
| 91 |
**Integration checklist**
|
| 92 |
|
| 93 |
+
- SPM: `https://github.com/john-rocky/coreai-kit` (exact **0.7.3**) β product **CoreAIKit**
|
| 94 |
- Info.plist: none needed
|
| 95 |
- Entitlements: none needed
|
| 96 |
- First run downloads the model β ~796 MB (Mac) / ~796 MB (iPhone) β then it loads from the
|