openaiext 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/openaiext/model.rb +3 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 321e5e7aaba2691bcc8f5fbf258bd33551920d474cee4bcdfcdde4dae744b937
4
- data.tar.gz: 9bc3fe053ae856d540925b6dc2815cf345383572cf2243c886589119649424ef
3
+ metadata.gz: 13d53c7281c93ddb63f58c2caabe451add4d8bd1d1fe2a313ef986faac067763
4
+ data.tar.gz: a15831f5ad9fb9ca77c9567ea99aef2e23981d93b3c36883ed760d4107e44769
5
5
  SHA512:
6
- metadata.gz: a244914cf823cb4fc0c6d1ec678858ad8a0467c015c6535cfcde6fa1756d1f4a67b0ecd1b4a23c8aff35d0dc3e84f01e0af0aa1fd6571c60b1a5033a02d2c448
7
- data.tar.gz: 207768e9d24034baea6278ff4c4f3fc03a664bc29d82904f65f143ca3e3a6cf2f7563bc77765ec0c5298685c0301f8abbacf03711c5c529f79ad6b4e8258937f
6
+ metadata.gz: 24ad02f85f085563c7ae41b4b673b728040791bb0e75567ba5d2a3d81a2d8e3a0c7a3a920a09bf8a017c499a4b7e4eab3161e17a64395814222868eae0a8cfc9
7
+ data.tar.gz: 2eadd29bd5314c6829eea303e0de76a955fd783de4edb0c61bd9e527c84648fd083d235e033481e419c2e9516f1d6caad8dfd5f5b0ad2204e80bf3ac5735ee6c
@@ -2,6 +2,7 @@ module OpenAIExt
2
2
  module Model
3
3
  GPT_BASIC_MODEL = ENV.fetch('OPENAI_GPT_BASIC_MODEL', 'gpt-4o-mini')
4
4
  GPT_ADVANCED_MODEL = ENV.fetch('OPENAI_GPT_ADVANCED_MODEL', 'gpt-4o-2024-08-06')
5
+ GPT_ADVANCED_MODEL_LATEST = ENV.fetch('OPENAI_GPT_ADVANCED_MODEL_LATEST', 'chatgpt-4o-latest')
5
6
 
6
7
  O1_BASIC_MODEL = ENV.fetch('OPENAI_O1_BASIC_MODEL', 'o1-mini')
7
8
  O1_ADVANCED_MODEL = ENV.fetch('OPENAI_O1_ADVANCED_MODEL', 'o1-preview')
@@ -12,6 +13,8 @@ module OpenAIExt
12
13
  GPT_BASIC_MODEL
13
14
  when :gpt_advanced
14
15
  GPT_ADVANCED_MODEL
16
+ when :gpt_advanced_latest
17
+ GPT_ADVANCED_MODEL_LATEST
15
18
  when :o1_basic
16
19
  O1_BASIC_MODEL
17
20
  when :o1_advanced
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openaiext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gedean Dias
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.5.21
86
+ rubygems_version: 3.5.22
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: Ruby OpenAI Extended