gen-cards: regenerate Use-it block
Browse files
README.md
CHANGED
|
@@ -65,7 +65,7 @@ let reply = try await chat.respond(to: prompt)
|
|
| 65 |
// reply: the answer, generated fully on-device
|
| 66 |
```
|
| 67 |
|
| 68 |
-
|
| 69 |
|
| 70 |
The take-home is [`Examples/ChatDemo/Sources/QuickStart.swift`](https://github.com/john-rocky/coreai-kit/blob/main/Examples/ChatDemo/Sources/QuickStart.swift)
|
| 71 |
— this exact code as one typed function, no UI; the CLI is an argument shell over it, and
|
|
|
|
| 65 |
// reply: the answer, generated fully on-device
|
| 66 |
```
|
| 67 |
|
| 68 |
+
**When Apple's FoundationModels built-in model isn't enough, keep your session code and swap the model — one line.** CoreAIKit's [`KitLanguageModel`](https://github.com/john-rocky/coreai-kit#when-foundationmodels-isnt-enough) plugs this bundle into the same system `LanguageModelSession`; your `Tool`s, `@Generable` types and transcripts work unchanged, and capabilities (tool calling, guided generation) auto-detect per model.
|
| 69 |
|
| 70 |
The take-home is [`Examples/ChatDemo/Sources/QuickStart.swift`](https://github.com/john-rocky/coreai-kit/blob/main/Examples/ChatDemo/Sources/QuickStart.swift)
|
| 71 |
— this exact code as one typed function, no UI; the CLI is an argument shell over it, and
|