Skip to content

Releases: krzyzanowskim/TypeSafe

0.2.1

Choose a tag to compare

@krzyzanowskim krzyzanowskim released this 22 Oct 22:17
0.2.1
22b2b08
  • Builds on Linux. It needs the zlib headers (zlib1g-dev on Debian and Ubuntu), which the official Swift Docker images include.
  • No API changes.

0.2.0

Choose a tag to compare

@krzyzanowskim krzyzanowskim released this 22 Oct 20:54
0.2.0
da38f3b

Matches @typesafe-ai/sdk 0.7.0.

  • Images: put an ImageAsset in state, interpolate it into question text or a TextWithAssets, or pass it in assets under a name. Requests with images are sent as multipart/form-data and need the TypeSafe-Danger-Zone-Images: true header.
  • Box questions return the edges of what they locate. Use the jev-preview model.
  • Request bodies of 1 KiB or more are gzipped. Turn this off with Configuration(compression: .off).
  • systemOne throws before sending when state is nil or a Noul has neither instructions nor criteria.

Breaking changes:

  • Usage.inputTokens and outputTokens are now Int?.
  • Question initializers take JSONValue. String literals still work. Pass a String variable as .string(text).

0.1.0

Choose a tag to compare

@krzyzanowskim krzyzanowskim released this 19 Sep 18:39
0.1.0
0.1.0