monadic-chat 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -2
- data/Gemfile.lock +1 -1
- data/README.md +2 -1
- data/lib/monadic_chat/open_ai.rb +2 -1
- data/lib/monadic_chat/version.rb +1 -1
- data/lib/monadic_chat.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: a83c20abb884c16622569c71fda099a7abb1c27f2eec7a2711905ce7a8ac50c5
|
4
|
+
data.tar.gz: 4dce793f19c71f042d4ef576e701c786468c11345809d7b0b002119a5b16e59b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15933b315126ecb4780db603eac1b5659f7633592784bfb42f1685adb555ff0b5bde12d51352b7fcc22f779a1d4c718ed7eb2007261745b74eb700216b2c497a
|
7
|
+
data.tar.gz: 1770a4f8479ae3c44c4a9fec3f193f032ebcf9563590efc6c022bc2dd53329377459d001b7defd3741971aefabe1a069ed167c094d548a6e42f94a2e5542584b
|
data/CHANGELOG.md
CHANGED
@@ -57,10 +57,13 @@
|
|
57
57
|
- Issue of redundant token addition addressed
|
58
58
|
- Default model changed to `gpt-3.5-turbo-0125`
|
59
59
|
|
60
|
-
## [0.4.3] - 2024-
|
60
|
+
## [0.4.3] - 2024-05-13
|
61
61
|
|
62
62
|
- `gpt-4o` set as default model for both `normal` and `research` modes
|
63
63
|
|
64
|
-
## [0.4.4] - 2024-
|
64
|
+
## [0.4.4] - 2024-07-18
|
65
65
|
|
66
66
|
- `gpt-4o-mini` set as default model for `normal` mode
|
67
|
+
|
68
|
+
## [0.4.5] - 2024-08-07
|
69
|
+
- `gpt-4o-2024-08-06` set as the default model for `research` mode
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -27,6 +27,7 @@
|
|
27
27
|
|
28
28
|
**Change Log**
|
29
29
|
|
30
|
+
- [August 7, 2024] `gpt-4o-2024-08-06` set as the default model for `research` mode
|
30
31
|
- [July 19, 2024] `gpt-4o-mini` set as the default model for `normal` mode
|
31
32
|
- [May 13, 2024] `gpt-4o` set as the default model for both `normal` and `research` modes
|
32
33
|
- [February 9, 2024] Minor update; default model changed to `gpt-3.5-turbo-0125`
|
@@ -313,7 +314,7 @@ In the default configuration, the dialogue messages are reduced after ten turns
|
|
313
314
|
|
314
315
|
### Research Mode
|
315
316
|
|
316
|
-
The current default language model for `research` mode is `gpt-4o`.
|
317
|
+
The current default language model for `research` mode is `gpt-4o-2024-08-06`.
|
317
318
|
|
318
319
|
In `research` mode, the conversation between the user and the large-scale language model is accomplished with a mechanism that tracks the conversation history in a monadic structure. In the default configuration, the dialogue messages are reduced after ten turns by deleting the oldest ones (but not the messages that the `system` role has given as instructions).
|
319
320
|
|
data/lib/monadic_chat/open_ai.rb
CHANGED
@@ -16,7 +16,7 @@ RETRY_WAIT_TIME_SEC = 1
|
|
16
16
|
module OpenAI
|
17
17
|
def self.default_model(research_mode: false)
|
18
18
|
if research_mode
|
19
|
-
"gpt-4o"
|
19
|
+
"gpt-4o-2024-08-06"
|
20
20
|
else # normal mode
|
21
21
|
"gpt-4o-mini"
|
22
22
|
end
|
@@ -31,6 +31,7 @@ module OpenAI
|
|
31
31
|
"gpt-4o-mini-2024-07-18" => "chat/completions",
|
32
32
|
"gpt-4o-mini" => "chat/completions",
|
33
33
|
"gpt-4o" => "chat/completions",
|
34
|
+
"gpt-4o-2024-08-06" => "chat/completions",
|
34
35
|
"gpt-4o-2024-05-13" => "chat/completions",
|
35
36
|
"gpt-4-0125-preview" => "chat/completions",
|
36
37
|
"gpt-4-turbo-preview" => "chat/completions",
|
data/lib/monadic_chat/version.rb
CHANGED
data/lib/monadic_chat.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monadic-chat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yohasebe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07
|
11
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|