mlboydaisuke commited on
Commit
dfa226b
·
verified ·
1 Parent(s): b838b90

gen-cards: regenerate Use-it block

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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
- Also runs behind **Apple's FoundationModels API** — CoreAIKit's [`KitLanguageModel`](https://github.com/john-rocky/coreai-kit#works-with-apples-foundationmodels-api) plugs this bundle into the system `LanguageModelSession`; 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
 
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