Skip to content

0.3.1

Pre-release
Pre-release

Choose a tag to compare

@airowe airowe released this 12 Nov 18:55
a91bea0

A small release. Everything is additive, so .upToNextMinor(from: "0.3.0") pins pick it up.

.package(url: "https://github.com/airowe/syrup-ai-kit", .upToNextMinor(from: "0.3.1"))

New

  • Expo plugin: a tool in siri-tools.json can set "returns": "value". The generated tool returns only .result(value:), so Siri can chain it with other tools, for example in an App Skill. "dialog" stays the default: Siri says the reply and ends its turn. Any other value stops prebuild with an error. (#34)
  • siri-ai-discover sets "returns": "value" on every tool an App Skill names.

Fixed

  • syrup-ai-eval summarize reads every turn of a multi-turn evaluation. Before, it read only the first turn, so calls made in later turns showed as "no tool calls". (#37)

Docs

  • When a tool should speak its answer and when it should hand the value to Siri. On a phone, Siri chained value-only tools 5 of 5 times and dialog tools 0 of 5. (#34)
  • Siri's one-time consent prompt for requests that don't name the app. After one yes, that phone sends such requests straight to the tool. (#35)
  • "Sample App" replaces "My App" as the placeholder app name. (#33)

Not yet tried on a phone

A generated tool with "returns": "value". The chaining result above came from Swift tools written by hand.