Skip to content

Commit

Permalink
Remove deprecated GPT-3.5 Turbo models from model name completion
Browse files Browse the repository at this point in the history
  • Loading branch information
mkht committed Sep 9, 2024
1 parent 3036b1d commit 96f0319
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
### Unreleased
- `gpt-3.5-turbo-0613` and `gpt-3.5-turbo-16k-0613` is deprecated on 2024-09-13.
You can still call these models, but it is removed from model name completion.

### 4.3.0
- Add `-Include` param for `Get-ThreadRunStep`.
- Add `-RankerForFileSearch` and `-ScoreThresholdForFileSearch` params for `New-Assistant`.
Expand Down
2 changes: 0 additions & 2 deletions Public/Assistants/New-Assistant.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ function New-Assistant {
'gpt-4o-mini',
'chatgpt-4o-latest',
'gpt-3.5-turbo-16k',
'gpt-3.5-turbo-0613',
'gpt-3.5-turbo-16k-0613',
'gpt-3.5-turbo-1106',
'gpt-3.5-turbo-0125',
'gpt-4-0613',
Expand Down
2 changes: 0 additions & 2 deletions Public/Assistants/Set-Assistant.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ function Set-Assistant {
'gpt-4o-mini',
'chatgpt-4o-latest',
'gpt-3.5-turbo-16k',
'gpt-3.5-turbo-0613',
'gpt-3.5-turbo-16k-0613',
'gpt-3.5-turbo-1106',
'gpt-3.5-turbo-0125',
'gpt-4-0613',
Expand Down
2 changes: 0 additions & 2 deletions Public/Enter-ChatGPT.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ function Enter-ChatGPT {
'gpt-4o-mini',
'chatgpt-4o-latest',
'gpt-3.5-turbo-16k',
'gpt-3.5-turbo-0613',
'gpt-3.5-turbo-16k-0613',
'gpt-3.5-turbo-1106',
'gpt-3.5-turbo-0125',
'gpt-4-0613',
Expand Down
2 changes: 0 additions & 2 deletions Public/Request-ChatCompletion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ function Request-ChatCompletion {
'gpt-4o-mini',
'chatgpt-4o-latest',
'gpt-3.5-turbo-16k',
'gpt-3.5-turbo-0613',
'gpt-3.5-turbo-16k-0613',
'gpt-3.5-turbo-1106',
'gpt-3.5-turbo-0125',
'gpt-4-0613',
Expand Down
2 changes: 0 additions & 2 deletions Public/Runs/Start-ThreadRun.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ function Start-ThreadRun {
'gpt-4o-mini',
'chatgpt-4o-latest',
'gpt-3.5-turbo-16k',
'gpt-3.5-turbo-0613',
'gpt-3.5-turbo-16k-0613',
'gpt-3.5-turbo-1106',
'gpt-3.5-turbo-0125',
'gpt-4-0613',
Expand Down
14 changes: 0 additions & 14 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,20 +217,6 @@ Request-ChatCompletion 'Describe ChatGPT in 100 charactors.' -Stream | Write-Hos

![Stream](/Docs/images/StreamOutput.gif)

### 関数呼び出し

関数呼び出し は Chat Completion API のオプション機能です。
関数の定義をパラメータとしてGPTモデルに与えると、モデルが呼び出すべき関数の名前と引数を生成します。

詳しい使い方は[ガイド](/Guides/How_to_call_functions_with_ChatGPT.ipynb)を参照してください。

```PowerShell
$Message = 'Ping the Google Public DNS address three times and briefly report the results.'
$PingFunction = New-ChatCompletionFunction -Command 'Test-Connection' -IncludeParameters ('TargetName', 'Count')
$Answer = Request-ChatCompletion -Message $Message -Model gpt-3.5-turbo-0613 -Functions $PingFunction -InvokeFunctionOnCallMode Auto
```


### 一部が欠けた画像を復元する

一部がマスクされた画像を与え、推定された全体画像を出力させる例です。
Expand Down

0 comments on commit 96f0319

Please sign in to comment.