Skip to content

Releases: ZachNagengast/similarity-search-kit

0.0.15

04 Jun 20:05
Compare
Choose a tag to compare

Faster similarity math with Accelerate 🙌

What's Changed

New Contributors

Full Changelog: 0.0.14...0.0.15

0.0.14

14 Feb 05:30
ef737c4
Compare
Choose a tag to compare

What's Changed

  • Fix load index by @buhe in #36
    • loadIndex no longer uses addItems and simply assigns the indexItems directly, which should should speed loading 🏎️ 💨

New Contributors

Full Changelog: 0.0.13...0.0.14

0.0.13

23 Jan 05:30
ddc8e45
Compare
Choose a tag to compare

What's Changed

  • Include token_type_ids when building model inputs by @weswalla in #32

New Contributors

Full Changelog: 0.0.12...0.0.13

0.0.12

17 Dec 18:57
224e95e
Compare
Choose a tag to compare

What's Changed

  • Fix typo by @buhe in #29
  • fix: Add completion callback to addItems(_:items) by @brn in #31

New Contributors

  • @buhe made their first contribution in #29
  • @brn made their first contribution in #31

Full Changelog: 0.0.11...0.0.12

0.0.11

14 Nov 02:00
6d78d30
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.0.10...0.0.11

0.0.10

15 Oct 21:47
18b52c6
Compare
Choose a tag to compare

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

0.0.9

05 Aug 21:43
Compare
Choose a tag to compare

Remove fatalerror from setupDimension

  • Addresses issue #19 where the app was crashing if setupDimension failed.
  • Includes other various cleanup

Full Changelog: 0.0.8...0.0.9

0.0.8

15 Jul 06:33
Compare
Choose a tag to compare

Adds BinaryStore

You can now save your index in binary format

  • BinaryStore is 4.3x more efficient in disk-storage space than JsonStore. It compresses the data as well.
  • Removed some fatal errors
  • SimilarityIndex.saveIndex and .loadIndex are now public

Contributors

Full Changelog: 0.0.7...0.0.8

0.0.7

05 Jul 16:42
5f5b00a
Compare
Choose a tag to compare

Adds RecursiveCharacterSplitter

Contributed by: @LexiestLeszek
PR: #14

Found the description on LangChain website and created my implementation, seems to be working. It will split documents recursively by different characters - starting with "\n\n", then "\n", then " ". This is nice because it will try to keep all the semantically relevant content in the same place for as long as possible.

Orig from langchain: https://js.langchain.com/docs/modules/indexes/text_splitters/examples/recursive_character

0.0.6

27 Jun 15:47
789c72d
Compare
Choose a tag to compare

Lowered min os versions for overall package

  • Distilbert model still requires macOS 13 and iOS 16 due to quantization.