immosquare-yaml 0.1.24 → 0.1.25

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: effb5a3ea70cfea17fbc180035085128ff5adf93de428240776168e4187b322e
4
- data.tar.gz: bf3c4fcb1ec3f1f373321170e457c7e7f6cdf5c3a4ec80473495df97b65c0836
3
+ metadata.gz: 4404e071795297a64e93c211cf7f45794894b940b2f14c02b96a9771a9fc5740
4
+ data.tar.gz: bfc66cb17d38c5dce224adde7c97902c7ae61d68687e476d27c40a19a61f420f
5
5
  SHA512:
6
- metadata.gz: e48c928c08754ea79ea7b3c0879486452958971e476714d9fc94fdd7cc5023454fc4228209908ce67b514c7b89071701820b5bf454a5b0cb3a530a9de9ea3f60
7
- data.tar.gz: 3af00354acc61f6282a42f042d64a395a85c2b2972e6e4d747e7c6a46e016fa1bc469f6e5d9b2a4b395dcef0ce9a3da26604ef7e72cfc6c1c8c595ce4c8e03e2
6
+ metadata.gz: 3e9e26bc45f59275a765ace0f1cffde57b570d52f6ee49b973c5d861a7a3d0ec13730255e364aed902040875aa0a2435333489a377dbed6f4c10601bc44c4c4d
7
+ data.tar.gz: 91a45dfe6c5e8debd0157a6aa66e78d1caea336a1695203051dfa7577df7a8343a47a859b8560ca23f837cdf8c4942816e578ed25d8deca782360f01c0384dea
@@ -313,7 +313,7 @@ module ImmosquareYaml
313
313
  ## We calculate the estimate price of the call
314
314
  ##============================================================##
315
315
  input_price = response["usage"]["prompt_tokens"] * (model[:input_price_for_1m] / 1_000_000)
316
- output_price = response["usage"]["completion_tokens"] * (model[:output] / 1_000_000)
316
+ output_price = response["usage"]["completion_tokens"] * (model[:output_price_for_1m] / 1_000_000)
317
317
  price = input_price + output_price
318
318
  puts("Estimate price => #{input_price.round(3)} + #{output_price.round(3)} = #{price.round(3)} USD")
319
319
 
@@ -1,3 +1,3 @@
1
1
  module ImmosquareYaml
2
- VERSION = "0.1.24".freeze
2
+ VERSION = "0.1.25".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - IMMO SQUARE