weaviate-ruby 0.8.6 → 0.8.8

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: 83fb7552f634c79632cbc4cbcfcd02364085cd67ce58669f6f90448e383f573b
4
- data.tar.gz: b8584df9da3abeeed1db9df7730ad4f145feb3c6055396f810a4d2b9c962ba58
3
+ metadata.gz: '01249ffefb68c85c00bf6b6cc01d507d3147225ed76b79f3aa9ba4a74c9b058f'
4
+ data.tar.gz: 5c5d95f7c8fd7652ae8d2cfd233c8b3482b24a19872cb57cc9ec9dfdee7d3c79
5
5
  SHA512:
6
- metadata.gz: 70252389e7843f713252cb57a3c005760804c2b36f8180926762d7ac20f574e0470ccc24dafd56fed418de40a572ebf81c30fe1734d724357230c0ac81598b2f
7
- data.tar.gz: dcc69f3e64e513a10f1d41ee8086bef3e58d5abcd9b264eb7db8aa84d79a19b72eb174bdfb7868d056e9d256366c3fbeacddf6428759c7e23bd28dfb2b57c29c
6
+ metadata.gz: e6bf05842b380bba4c0416d037e25a714b5135247a08ad8b586aed4bf9f81029e6cd76c937c2033af651d11f2588eec93c1fcdaa15badfd745e06d2f5fa5b427
7
+ data.tar.gz: 1e02020ac29461a2ecd9b80f0cdcaa61887dfea43ad5175796243520af1c35e4fbded69fe68faa24da4342f7705d9b8a9d1e1f0d70e722b1cf3136bcb19bd689
data/Gemfile.lock CHANGED
@@ -1,23 +1,33 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- weaviate-ruby (0.8.6)
4
+ weaviate-ruby (0.8.8)
5
5
  faraday (>= 2.0.1, < 3.0)
6
6
  graphlient (~> 0.7.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.4.3)
11
+ activesupport (7.1.0)
12
+ base64
13
+ bigdecimal
12
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ connection_pool (>= 2.2.5)
16
+ drb
13
17
  i18n (>= 1.6, < 2)
14
18
  minitest (>= 5.1)
19
+ mutex_m
15
20
  tzinfo (~> 2.0)
16
21
  ast (2.4.2)
22
+ base64 (0.1.1)
23
+ bigdecimal (3.1.4)
17
24
  byebug (11.1.3)
18
25
  coderay (1.1.3)
19
26
  concurrent-ruby (1.2.2)
27
+ connection_pool (2.4.1)
20
28
  diff-lcs (1.5.0)
29
+ drb (2.1.1)
30
+ ruby2_keywords
21
31
  faraday (2.7.10)
22
32
  faraday-net_http (>= 2.0, < 3.1)
23
33
  ruby2_keywords (>= 0.0.4)
@@ -25,16 +35,17 @@ GEM
25
35
  graphlient (0.7.0)
26
36
  faraday (~> 2.0)
27
37
  graphql-client
28
- graphql (2.0.19)
38
+ graphql (2.1.1)
29
39
  graphql-client (0.18.0)
30
40
  activesupport (>= 3.0)
31
41
  graphql
32
- i18n (1.12.0)
42
+ i18n (1.14.1)
33
43
  concurrent-ruby (~> 1.0)
34
44
  json (2.6.3)
35
45
  language_server-protocol (3.17.0.3)
36
46
  method_source (1.0.0)
37
- minitest (5.18.0)
47
+ minitest (5.20.0)
48
+ mutex_m (0.1.2)
38
49
  parallel (1.22.1)
39
50
  parser (3.2.1.1)
40
51
  ast (~> 2.4.1)
@@ -48,6 +48,7 @@ module Weaviate
48
48
  def aggs(
49
49
  class_name:,
50
50
  fields: nil,
51
+ where: nil,
51
52
  object_limit: nil,
52
53
  near_text: nil,
53
54
  near_vector: nil,
@@ -59,6 +60,7 @@ module Weaviate
59
60
  aggs_query(
60
61
  class_name: class_name,
61
62
  fields: fields,
63
+ where: where,
62
64
  near_text: near_text,
63
65
  near_vector: near_vector,
64
66
  near_image: near_image,
@@ -138,7 +140,7 @@ module Weaviate
138
140
  def get_query(
139
141
  class_name:,
140
142
  fields:,
141
- autocut:,
143
+ autocut: nil,
142
144
  tenant: nil,
143
145
  where: nil,
144
146
  near_text: nil,
@@ -183,6 +185,7 @@ module Weaviate
183
185
  def aggs_query(
184
186
  class_name:,
185
187
  fields:,
188
+ where: nil,
186
189
  near_text: nil,
187
190
  near_vector: nil,
188
191
  near_image: nil,
@@ -200,7 +203,8 @@ module Weaviate
200
203
  #{near_text.present? ? "nearText: #{near_text}" : ""},
201
204
  #{near_vector.present? ? "nearVector: #{near_vector}" : ""},
202
205
  #{near_image.present? ? "nearImage: #{near_image}" : ""},
203
- #{near_object.present? ? "nearObject: #{near_object}" : ""}
206
+ #{near_object.present? ? "nearObject: #{near_object}" : ""},
207
+ #{where.present? ? "where: #{where}" : ""}
204
208
  ) {
205
209
  #{fields}
206
210
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Weaviate
4
- VERSION = "0.8.6"
4
+ VERSION = "0.8.8"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weaviate-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Bondarev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-10 00:00:00.000000000 Z
11
+ date: 2023-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday