vecsearch 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23bcc9e270a754cd56fbc2013084719f6567c9f284fe0504e2e0bec666035c67
4
- data.tar.gz: 4ddb00bc0c604bf1a7f3fc47561804e97e894df4382c0611105cdea24c4a50d8
3
+ metadata.gz: 7d9eee2325cbf9c5f7da2a79ebdba453c987d6f9cf5b91f21783371283879de4
4
+ data.tar.gz: 74c2b93449e98a44c7f8462d072c4d77c8bba3a3dac2cca7c0211d230c189978
5
5
  SHA512:
6
- metadata.gz: ab92719d0d0c8f3e14e002758c01b73493b4b4c578de81658e8bd952dd0a0eec1217d2061c4c5020a1246c6d74d5094ea12978d82661aec3ff97388cb8defad9
7
- data.tar.gz: 23b554f0bdd20cfaea4f954dc989c3b01d52f174598d69d450de71a2bd69f5c720427d3b01389901a4ee9af4d9c6178fa82b5b2edd891ea332376deb52a0abc4
6
+ metadata.gz: 65e5565ef685d7931e1d0305e71e2d1eb90c247884a707bbb7c87a421e23aa08448857e6afe54c8d84288601b04b7df6fbfd845b127cac1cfd0d7e2f40a92030
7
+ data.tar.gz: ef8586838d3e6ce7316903ff0986f09980219d254906585a1f18ca3ccb154ff0fea4a4db2c006cb10bb6c52c7906df0fee625c57151b8a6f71b344ecc7c5834f
@@ -1,3 +1,3 @@
1
1
  class Vecsearch
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/lib/vecsearch.rb CHANGED
@@ -4,7 +4,7 @@ require 'faiss'
4
4
  class Vecsearch
5
5
  autoload(:GTETiny, 'vecsearch/gte_tiny')
6
6
 
7
- def initialize(records=[])
7
+ def initialize(*records)
8
8
  @faiss = Faiss::IndexFlatL2.new(384)
9
9
  @gte = GTETiny.new
10
10
  @texts = []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vecsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burke Libbey