Skip to content

0.0.10

Compare
Choose a tag to compare
@ZachNagengast ZachNagengast released this 15 Oct 21:47
· 11 commits to main since this release
18b52c6

Add multilingual native embeddings class NativeContextualEmbeddings

  • This new embeddings class uses the latest native embeddings from Apple called NLContextualEmbeddings #22. Prompted by discussion in issue #21 with @aehlke.
  • Usage:
        let similarityIndex = await SimilarityIndex(
            model: NativeContextualEmbeddings()
            metric: CosineSimilarity()
        )

Full Changelog: 0.0.9...0.0.10