cohere-ruby 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cohere/client.rb +2 -2
- data/lib/cohere/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30cf10dfc4dfb53a96b717073e6a682173d398f9eacd466a7811df3eabc1096b
|
4
|
+
data.tar.gz: f030243be8af8682a996ffbebdc7735bfdf13cbdb7021f3910c499f847419eae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4242f30c3990f19ffb8aac096db95379c712a1249142085be83cd0d02f229d40c756adb2f794b1683d9ba44d7bbaa23e18745672b938525b8832a70efaa22798
|
7
|
+
data.tar.gz: 153a6d5dca9f3771ef374a7273de98f3397addb845db0ac7736ec473e2ec910837ec746049be047672c3e87b9e239e702623adb59991743d42f260150cdee864
|
data/Gemfile.lock
CHANGED
data/lib/cohere/client.rb
CHANGED
@@ -26,7 +26,7 @@ module Cohere
|
|
26
26
|
frequency_penalty: nil,
|
27
27
|
presence_penalty: nil,
|
28
28
|
end_sequences: nil,
|
29
|
-
|
29
|
+
stop_sequences: nil,
|
30
30
|
return_likelihoods: nil,
|
31
31
|
logit_bias: nil,
|
32
32
|
truncate: nil
|
@@ -43,7 +43,7 @@ module Cohere
|
|
43
43
|
req.body[:frequency_penalty] = frequency_penalty if frequency_penalty
|
44
44
|
req.body[:presence_penalty] = presence_penalty if presence_penalty
|
45
45
|
req.body[:end_sequences] = end_sequences if end_sequences
|
46
|
-
req.body[:
|
46
|
+
req.body[:stop_sequences] = stop_sequences if stop_sequences
|
47
47
|
req.body[:return_likelihoods] = return_likelihoods if return_likelihoods
|
48
48
|
req.body[:logit_bias] = logit_bias if logit_bias
|
49
49
|
req.body[:truncate] = truncate if truncate
|
data/lib/cohere/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cohere-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
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-05-
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|