monadic-chat 0.4.6a → 0.4.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f9b1991649b44dacd1123eae0c791d31493d0da8a994f7de91f7d092d92235e
4
- data.tar.gz: 77e99903d00809d337d0ed9485ecda5982056e93b2024f11858687f124808da4
3
+ metadata.gz: a05b8e2fb77dbf000c1e698a7ab9b86f70d2adb1cc8b4da2a36dfa21f716383f
4
+ data.tar.gz: 57ed0c67f1facaf3539b0feed93c8f483fd481d9aeab51da46c0ee3fedab9497
5
5
  SHA512:
6
- metadata.gz: 3bdcc6b949d4e1ce5c7416a40bbc72940238d23b35ecb463505c7783aec07be1c5875544c45c80c32f61cabef4000d88449b4851f48f1104ddb1a4fa83ba3965
7
- data.tar.gz: 8cc600a108f500a8bd10326b886294340c6877afcac65437ffd2e44d2c246684f99090b2d7fff712a39d98bd760b76f211fb48aab188250c91bde9b73581663c
6
+ metadata.gz: e64f3d7f089e59bba323e8d54622c89a51d0965677f8d05643031ee8dfb265d68e27b0ccb64ff89c31b231e3430b5b72fd29b718b9d1b2e514c998e1acabe530
7
+ data.tar.gz: 5f3dbd6c67f8e871185c2031b7ecd04c09e6e1140e29d5196afa8f539ab8d13fba2c5f778537f7316d5e786262ae6bac2f70d03b68431f2ac663d29c6c715f75
data/CHANGELOG.md CHANGED
@@ -68,5 +68,5 @@
68
68
  ## [0.4.5] - 2024-08-07
69
69
  - `gpt-4o-2024-08-06` set as the default model for `research` mode
70
70
 
71
- ## [0.4.6a] - 2024-08-15
72
- - `chatgpt-4o-latest` set as the default model for `research` mode
71
+ ## [0.4.6] - 2024-08-15
72
+ - `gpt-4o-latest` set as the default model for `research` mode
data/README.md CHANGED
@@ -27,7 +27,7 @@
27
27
 
28
28
  **Change Log**
29
29
 
30
- - [August 15, 2024] `chatgpt-4o-latest` set as the default model for `research` mode
30
+ - [August 15, 2024] `gpt-4o-latest` set as the default model for `research` mode
31
31
  - [July 19, 2024] `gpt-4o-mini` set as the default model for `normal` mode
32
32
  - [May 13, 2024] `gpt-4o` set as the default model for both `normal` and `research` modes
33
33
  - [February 9, 2024] Minor update; default model changed to `gpt-3.5-turbo-0125`
@@ -314,7 +314,7 @@ In the default configuration, the dialogue messages are reduced after ten turns
314
314
 
315
315
  ### Research Mode
316
316
 
317
- The current default language model for `research` mode is `chatgpt-4o-latest`.
317
+ The current default language model for `research` mode is `gpt-4o-latest`.
318
318
 
319
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).
320
320
 
@@ -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
- "chatgpt-4o-latest"
19
+ "gpt-4o-latest"
20
20
  else # normal mode
21
21
  "gpt-4o-mini"
22
22
  end
@@ -31,7 +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
- "chatgpt-4o-latest" => "chat/completions",
34
+ "gpt-4o-latest" => "chat/completions",
35
35
  "gpt-4o-2024-08-06" => "chat/completions",
36
36
  "gpt-4o-2024-05-13" => "chat/completions",
37
37
  "gpt-4-0125-preview" => "chat/completions",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MonadicChat
4
- VERSION = "0.4.6a"
4
+ VERSION = "0.4.6"
5
5
  end
data/lib/monadic_chat.rb CHANGED
@@ -28,7 +28,7 @@ Oj.mimic_JSON
28
28
  module MonadicChat
29
29
  SETTINGS = {
30
30
  "normal_model" => "gpt-4o-mini",
31
- "research_model" => "chatgpt-4o-latest",
31
+ "research_model" => "gpt-4o-latest",
32
32
  "max_tokens_wiki" => 1600,
33
33
  "num_retrials" => 2,
34
34
  "min_query_size" => 5,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monadic-chat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6a
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - yohasebe
@@ -342,9 +342,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
342
342
  version: 2.6.10
343
343
  required_rubygems_version: !ruby/object:Gem::Requirement
344
344
  requirements:
345
- - - ">"
345
+ - - ">="
346
346
  - !ruby/object:Gem::Version
347
- version: 1.3.1
347
+ version: '0'
348
348
  requirements: []
349
349
  rubygems_version: 3.4.13
350
350
  signing_key: