Skip to content

Commit

Permalink
feat: update model gpt-3.5-turbo-0125 (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 authored Feb 11, 2024
1 parent 77feb8f commit 176d95d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/src/model.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ GPT-3 を改良し, 自然言語やコードを理解・生成できる言語モ

| モデル名 | ichiyoAI の対応バージョン | Context Window | トレーニングデータ | Input | Output |
| --- | --- | --- | --- | --- | --- |
| gpt-3.5-turbo-1106 | `v1.16.0`| 16,385 Token | Sep 2021 | $0.0010 / 1k | $0.0020 / 1k |
| gpt-3.5-turbo-0125 | `v2.4.0`| 16,385 Token | Sep 2021 | $0.0010 / 1k | $0.0020 / 1k |
| gpt-3.5-turbo-1106 | `v1.16.0``v2.3.1` | 16,385 Token | Sep 2021 | $0.0010 / 1k | $0.0020 / 1k |
| gpt-3.5-turbo (Current: gpt-3.5-turbo-0613) |`v1.15.4` | 4,096 Token | Sep 2021 | $0.0015 / 1k | $0.002 / 1k |

### Gemini
Expand Down
2 changes: 1 addition & 1 deletion src/lib/openai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ macro_rules! define_model {
// Note: https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
define_model!(pub GPT4Turbo: "gpt-4-0125-preview", rate = req 0.01 , res 0.03 );
// Note: https://platform.openai.com/docs/models/gpt-3-5
define_model!(pub GPT35Turbo: "gpt-3.5-turbo-1106", rate = req 0.0010, res 0.0020);
define_model!(pub GPT35Turbo: "gpt-3.5-turbo-0125", rate = req 0.0010, res 0.0020);

impl<Model> OpenAi<Model> {
pub fn new(token: impl AsRef<str>) -> Self {
Expand Down

0 comments on commit 176d95d

Please sign in to comment.