immosquare-yaml 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-yaml/translate.rb +5 -4
- data/lib/immosquare-yaml/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: 680ddbc42c31c133c3c940c9d0b340f16c8723ec7d43d71441ea07588cdb35f4
|
4
|
+
data.tar.gz: c56e70e885e55a91847ef655dc009b97c902d75e3ff555bffc0e2e667f018c38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41278873f50fffd5892eebf4a683e48a0f169dd543ad1248926f0bc2f0db7e9bac67d51ebe19ed7b66dc33191de176627838a092d8a397c09d96e5d99939f80d
|
7
|
+
data.tar.gz: d26c47090db57e611afac463db2a01a633c4db16ca8de6207db41411c522886ea08de1996e57989fa64eddd62ec9d7bca257aaa268db417e00e855dc8e003ed2
|
@@ -174,10 +174,11 @@ module ImmosquareYaml
|
|
174
174
|
##============================================================##
|
175
175
|
model_name = ImmosquareYaml.configuration.openai_model
|
176
176
|
models = [
|
177
|
-
{:name => "gpt-3.5-turbo", :tokens => 4097,
|
178
|
-
{:name => "gpt-3.5-turbo-16k", :tokens => 16_385,
|
179
|
-
{:name => "gpt-4", :tokens => 8192,
|
180
|
-
{:name => "gpt-4-32k", :tokens => 32_769,
|
177
|
+
{:name => "gpt-3.5-turbo", :tokens => 4097, :input => 0.0015, :output => 0.002, :group_size => 75},
|
178
|
+
{:name => "gpt-3.5-turbo-16k", :tokens => 16_385, :input => 0.0030, :output => 0.004, :group_size => 300},
|
179
|
+
{:name => "gpt-4", :tokens => 8192, :input => 0.0300, :output => 0.060, :group_size => 150},
|
180
|
+
{:name => "gpt-4-32k", :tokens => 32_769, :input => 0.0600, :output => 0.120, :group_size => 600},
|
181
|
+
{:name => "gpt-4-1106-preview", :tokens => 128_000, :input => 0.0100, :output => 0.030, :group_size => 2400}
|
181
182
|
]
|
182
183
|
model = models.find {|m| m[:name] == model_name }
|
183
184
|
model = models.find {|m| m[:name] == "gpt-3.5-turbo-16k" } if model.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immosquare-yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IMMO SQUARE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|