gen-cards: regenerate Use-it block
Browse files
README.md
CHANGED
|
@@ -23,6 +23,15 @@ Part of the community Core AI model zoo: **https://github.com/john-rocky/coreai-
|
|
| 23 |
<!-- gen-cards:use-it begin id=minicpm5-1b (managed by scripts/gen-cards — edit cards.json / QuickStart.swift, not this block) -->
|
| 24 |
## Use it
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
▶️ **Run it (source)** — the [ChatDemo runner](https://github.com/john-rocky/coreai-kit/tree/main/Examples/ChatDemo)
|
| 27 |
(GUI + CLI, one app for every chat model in the catalog):
|
| 28 |
|
|
|
|
| 23 |
<!-- gen-cards:use-it begin id=minicpm5-1b (managed by scripts/gen-cards — edit cards.json / QuickStart.swift, not this block) -->
|
| 24 |
## Use it
|
| 25 |
|
| 26 |
+
⚡ **One line** — run the kit's task op on this model
|
| 27 |
+
(`import CoreAIOps`; no session, no model plumbing, downloads on first use):
|
| 28 |
+
|
| 29 |
+
```swift
|
| 30 |
+
let tldr = try await CoreAI.summarize(text, options: .model("minicpm5-1b"))
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
Twenty ops, one shape — [Cookbook](https://github.com/john-rocky/coreai-kit/blob/main/docs/COOKBOOK.md).
|
| 34 |
+
|
| 35 |
▶️ **Run it (source)** — the [ChatDemo runner](https://github.com/john-rocky/coreai-kit/tree/main/Examples/ChatDemo)
|
| 36 |
(GUI + CLI, one app for every chat model in the catalog):
|
| 37 |
|