weaviate-ruby 0.8.6 → 0.8.7

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: 99e3674e3c6effbe5a72aa01140cc69062638ba75b725130c60f5a3b06deeb84
4
+ data.tar.gz: 430cb2635b7dd15dc2084a6ca33bec14bb1cfaa6dd76a84b89b1b6ac44420438
5
5
  SHA512:
6
- metadata.gz: 70252389e7843f713252cb57a3c005760804c2b36f8180926762d7ac20f574e0470ccc24dafd56fed418de40a572ebf81c30fe1734d724357230c0ac81598b2f
7
- data.tar.gz: dcc69f3e64e513a10f1d41ee8086bef3e58d5abcd9b264eb7db8aa84d79a19b72eb174bdfb7868d056e9d256366c3fbeacddf6428759c7e23bd28dfb2b57c29c
6
+ metadata.gz: be17c6860196fdb4d55c45397960cf4617502e9231f677d0a4ae6ddeb6198c1555d04e4c6ba51b262ba2874638203185d852e2b3039602e9daa4f04ef445cc8c
7
+ data.tar.gz: 2266ffaf964a2d65de2f15961e57e14b7cc557c686e02b4d6e5657cf266d553f01ca7ab6747e87eb386b965c918ba262c69b7cd75c4d9c0700b42a2689a77a73
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- weaviate-ruby (0.8.6)
4
+ weaviate-ruby (0.8.7)
5
5
  faraday (>= 2.0.1, < 3.0)
6
6
  graphlient (~> 0.7.0)
7
7
 
@@ -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,
@@ -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.7"
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.7
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-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday