hugging-face 0.3.2 → 0.3.3

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: 87254803b61e70815598420628a541f28f6ecc63726906c2f894e3cf7f395ca5
4
- data.tar.gz: d2659a14f7bef376fa3371a61e471b923fed89ed51ca4d4bbc640eab805ceef4
3
+ metadata.gz: 8b1fd1e517f21466be454d55dcc88e0344acaa6fd91900335615f632b734595e
4
+ data.tar.gz: c865080f1350cc0e056f0ff190b6c99373cc32a287bb9c0e558ce777456ca057
5
5
  SHA512:
6
- metadata.gz: 88ee2dff8c6c5b4d244f6160d3f9f9bcd778b63de5c978528864975a5537fe8932f7d61676f2f01f49bf4512cb5f88a1905c4e36641d715b3391540fe5ed26c5
7
- data.tar.gz: a607889a02c800ff8abafd782b97563da26848188e27f670cd75a28056d0cdb8cae4d8cb5b007778a567f528f017ededee765974a9ff7c1285e6130463d4ebd1
6
+ metadata.gz: 803618ef477824cafbf3b5d37e76d3bcfcc6b9cfd90632e55df733f9b7f14d7ef6e4d5403ce9f1828f6459ee32b511783c2d8f3217caf7ba3ee87123f0372754
7
+ data.tar.gz: 62cfb9bb3f0f6905f9963d7997b7deecabdda75a0771f8625604bde1dd7c883ab76bc43e811355b99f26428d0ae84397deb1a5741824fa3c32fcd0e80fa6cc1c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hugging-face (0.3.2)
4
+ hugging-face (0.3.3)
5
5
  faraday (~> 1.0)
6
6
 
7
7
  GEM
@@ -29,8 +29,8 @@ module HuggingFace
29
29
  request connection: connection(model), input: { inputs: input }
30
30
  end
31
31
 
32
- def embedding(input:)
33
- request connection: connection(EMBEDING_MODEL), input: { inputs: input }
32
+ def embedding(input:, model: EMBEDING_MODEL)
33
+ request connection: connection(model), input: { inputs: input }
34
34
  end
35
35
 
36
36
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HuggingFace
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hugging-face
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Chaplinsky