monadic-chat 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +13 -10
- data/README.md +2 -1
- data/lib/monadic_chat/open_ai.rb +3 -1
- data/lib/monadic_chat/version.rb +1 -1
- data/lib/monadic_chat.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a90d35d2c3a7fef4bbfff6df8d91ea464e461a45628f54edd841337572027ba3
|
|
4
|
+
data.tar.gz: 2427c0d1a25284eba43f2b246e5b26a00c3269faabe08183987d34d7ffb6e666
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5960484908ca30dd0129951fdb405f06b37c2714ba319bd8a4bc7dd13e79105e415cf2b9670b0f135fa47f53e615d71d4c1c83ada2f900cf5ee85539545c54b2
|
|
7
|
+
data.tar.gz: a82640ea7156b27a43f3091f69db9ce0f3c4ac0d948414b220ba123e4ef14b307ed870ea14b36104da52aaea609da4d5e598485b781ff9c85d5e9740a9805e1b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
monadic-chat (0.4.
|
|
4
|
+
monadic-chat (0.4.4)
|
|
5
5
|
blingfire
|
|
6
6
|
http
|
|
7
7
|
kramdown
|
|
@@ -20,15 +20,16 @@ PATH
|
|
|
20
20
|
GEM
|
|
21
21
|
remote: https://rubygems.org/
|
|
22
22
|
specs:
|
|
23
|
-
addressable (2.8.
|
|
24
|
-
public_suffix (>= 2.0.2, <
|
|
23
|
+
addressable (2.8.7)
|
|
24
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
25
25
|
base64 (0.2.0)
|
|
26
26
|
bigdecimal (3.1.8)
|
|
27
27
|
blingfire (0.2.1)
|
|
28
28
|
childprocess (5.0.0)
|
|
29
29
|
diff-lcs (1.5.1)
|
|
30
30
|
domain_name (0.6.20240107)
|
|
31
|
-
ffi (1.
|
|
31
|
+
ffi (1.17.0)
|
|
32
|
+
ffi (1.17.0-x86_64-darwin)
|
|
32
33
|
ffi-compiler (1.3.2)
|
|
33
34
|
ffi (>= 1.15.5)
|
|
34
35
|
rake
|
|
@@ -38,7 +39,7 @@ GEM
|
|
|
38
39
|
http-cookie (~> 1.0)
|
|
39
40
|
http-form_data (~> 2.2)
|
|
40
41
|
llhttp-ffi (~> 0.5.0)
|
|
41
|
-
http-cookie (1.0.
|
|
42
|
+
http-cookie (1.0.6)
|
|
42
43
|
domain_name (~> 0.5)
|
|
43
44
|
http-form_data (2.3.0)
|
|
44
45
|
kramdown (2.4.0)
|
|
@@ -49,21 +50,22 @@ GEM
|
|
|
49
50
|
llhttp-ffi (0.5.0)
|
|
50
51
|
ffi-compiler (~> 1.0)
|
|
51
52
|
rake (~> 13.0)
|
|
52
|
-
oj (3.16.
|
|
53
|
+
oj (3.16.4)
|
|
53
54
|
bigdecimal (>= 3.0)
|
|
54
55
|
pastel (0.8.0)
|
|
55
56
|
tty-color (~> 0.5)
|
|
56
|
-
public_suffix (
|
|
57
|
+
public_suffix (6.0.0)
|
|
57
58
|
rake (13.2.1)
|
|
58
|
-
rexml (3.2
|
|
59
|
-
|
|
59
|
+
rexml (3.3.2)
|
|
60
|
+
strscan
|
|
61
|
+
rouge (4.3.0)
|
|
60
62
|
rspec (3.13.0)
|
|
61
63
|
rspec-core (~> 3.13.0)
|
|
62
64
|
rspec-expectations (~> 3.13.0)
|
|
63
65
|
rspec-mocks (~> 3.13.0)
|
|
64
66
|
rspec-core (3.13.0)
|
|
65
67
|
rspec-support (~> 3.13.0)
|
|
66
|
-
rspec-expectations (3.13.
|
|
68
|
+
rspec-expectations (3.13.1)
|
|
67
69
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
68
70
|
rspec-support (~> 3.13.0)
|
|
69
71
|
rspec-mocks (3.13.1)
|
|
@@ -75,6 +77,7 @@ GEM
|
|
|
75
77
|
unicode-display_width (>= 1.5, < 3.0)
|
|
76
78
|
unicode_utils (~> 1.4)
|
|
77
79
|
strings-ansi (0.2.0)
|
|
80
|
+
strscan (3.1.0)
|
|
78
81
|
tty-box (0.7.0)
|
|
79
82
|
pastel (~> 0.8)
|
|
80
83
|
strings (~> 0.2.0)
|
data/README.md
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
**Change Log**
|
|
29
29
|
|
|
30
|
+
- [July 19, 2024] `gpt-4o-mini` set as the default model for `normal` mode
|
|
30
31
|
- [May 13, 2024] `gpt-4o` set as the default model for both `normal` and `research` modes
|
|
31
32
|
- [February 9, 2024] Minor update; default model changed to `gpt-3.5-turbo-0125`
|
|
32
33
|
- [November 10, 2023] Stability improvement; default model changed to `gpt-3.5-turbo`
|
|
@@ -306,7 +307,7 @@ Monadic Chat has two modes. The `normal` mode utilizes OpenAI's chat API to achi
|
|
|
306
307
|
|
|
307
308
|
### Normal Mode
|
|
308
309
|
|
|
309
|
-
The current default language model for `normal` mode is `gpt-4o`.
|
|
310
|
+
The current default language model for `normal` mode is `gpt-4o-mini`.
|
|
310
311
|
|
|
311
312
|
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).
|
|
312
313
|
|
data/lib/monadic_chat/open_ai.rb
CHANGED
|
@@ -18,7 +18,7 @@ module OpenAI
|
|
|
18
18
|
if research_mode
|
|
19
19
|
"gpt-4o"
|
|
20
20
|
else # normal mode
|
|
21
|
-
"gpt-4o"
|
|
21
|
+
"gpt-4o-mini"
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
|
|
@@ -28,6 +28,8 @@ module OpenAI
|
|
|
28
28
|
"gpt-3.5-turbo-1106" => "chat/completions",
|
|
29
29
|
"gpt-3.5-turbo" => "chat/completions",
|
|
30
30
|
"gpt-3.5-turbo-16k" => "chat/completions",
|
|
31
|
+
"gpt-4o-mini-2024-07-18" => "chat/completions",
|
|
32
|
+
"gpt-4o-mini" => "chat/completions",
|
|
31
33
|
"gpt-4o" => "chat/completions",
|
|
32
34
|
"gpt-4o-2024-05-13" => "chat/completions",
|
|
33
35
|
"gpt-4-0125-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.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- yohasebe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -346,7 +346,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
346
346
|
- !ruby/object:Gem::Version
|
|
347
347
|
version: '0'
|
|
348
348
|
requirements: []
|
|
349
|
-
rubygems_version: 3.
|
|
349
|
+
rubygems_version: 3.5.10
|
|
350
350
|
signing_key:
|
|
351
351
|
specification_version: 4
|
|
352
352
|
summary: Highly configurable CLI client app for OpenAI chat/text-completion API
|