Skip to content

Moss iOS SDK v0.8.1

Choose a tag to compare

@grygoryz grygoryz released this 06 Oct 18:25
1ad1eb5

Moss iOS SDK v0.8.1.

Fixed

  • MossSession.pushIndex() on a session with a built-in model (moss-minilm, moss-mediumlm, moss-litelm) sends that model's id, so the service re-embeds the text with it and the pushed index loads and answers text queries like one built with createIndex. It used to be stamped custom, so a pushed session could not be resumed with text queries. A custom-model session still pushes its own embeddings. Native runtime moss-c 0.24.1.

SwiftPM consumption

.package(url: "https://github.com/usemoss/moss", from: "0.8.1"),

Package.swift binary target

.binaryTarget(
    name: "MossC",
    url: "https://github.com/usemoss/moss/releases/download/v0.8.1/Moss.xcframework.zip",
    checksum: "7e03ddae56e060ee2b26e1a667541e65a315d2deddfa6e6972c59278542bfb26"
)

SHA-256: 7e03ddae56e060ee2b26e1a667541e65a315d2deddfa6e6972c59278542bfb26

What's in the xcframework

  • iOS device (arm64) slice
  • iOS simulator (arm64) slice