openaiext 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openaiext/model.rb +4 -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: d54f4e06f8eb641359f073d08ec654bb834f70c27646dae0dd79bfef6caa66ca
|
4
|
+
data.tar.gz: fb966c587445a8423a6de704ebb96e2653d85040ca538180c04e5c7a30d56260
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1fc6953645f87d950abe986e5c2011254f7fefd9d75c6fc67642eae4dbff8f0ede7d3f1436efdc64ed6dd6d4bffc562e90d855f5db4a03389f225590503016b
|
7
|
+
data.tar.gz: 14a4edb85bd8cd2fcba6b44563a0484c9c87f34b6cfdf2eafd5290583327819b5c123f4c26aa5ddb9e88b02b740874b331ef71ab67b66fd757b00fcdeaea340f
|
data/lib/openaiext/model.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
module OpenAIExt
|
2
2
|
module Model
|
3
3
|
GPT_BASIC_MODEL = ENV.fetch('OPENAI_GPT_BASIC_MODEL', 'gpt-4o-mini')
|
4
|
-
GPT_ADVANCED_MODEL = ENV.fetch('OPENAI_GPT_ADVANCED_MODEL', 'gpt-4o
|
4
|
+
GPT_ADVANCED_MODEL = ENV.fetch('OPENAI_GPT_ADVANCED_MODEL', 'gpt-4o')
|
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.
|
4
|
+
version: 0.0.5
|
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.
|
86
|
+
rubygems_version: 3.5.22
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: Ruby OpenAI Extended
|