Skip to content

Commit

Permalink
v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkht committed Aug 16, 2024
1 parent 60721b5 commit eaf2fb0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.ja.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 変更履歴
### 4.2.0
- 新しい `chatgpt-4o-latest` モデルをサポート

### 4.1.1
- Windows PowerShell 5.1 で`-Format``json_schema`を指定した場合に発生するエラーを修正

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
### 4.2.0
- Add support for new `chatgpt-4o-latest` model.

### 4.1.1
- Fixed issue that occurred when using `json_schema` in Windows PowerShell 5.1 (#30)

Expand Down
8 changes: 4 additions & 4 deletions PSOpenAI-Help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12247,15 +12247,15 @@ En septembre 2021, la population estimée des États-Unis est d'environ 331,4 mi
<maml:title>----------------- Example 4: Function calling -----------------</maml:title>
<dev:code>PS C:\&gt; $PingFunction = New-ChatCompletionFunction -Command 'Test-Connection' -IncludeParameters ('TargetName','Count')
PS C:\&gt; $Message = 'Ping the Google Public DNS address three times and briefly report the results.'
PS C:\&gt; $GPTPingAnswer = Request-ChatCompletion -Message $Message -Model gpt-3.5-turbo-1106 -Tools $PingFunction -InvokeTools Auto
PS C:\&gt; $GPTPingAnswer = Request-ChatCompletion -Message $Message -Model gpt-4o -Tools $PingFunction -InvokeTools Auto
PS C:\&gt; $GPTPingAnswer | select Answer</dev:code>
<dev:remarks>
<maml:para></maml:para>
</dev:remarks>
</command:example>
<command:example>
<maml:title>--------------- Example 5: Image input (Vision) ---------------</maml:title>
<dev:code>PS C:\&gt; Request-ChatCompletion -Message $Message -Model gpt-4-vision-preview -Images "C:\image.png"</dev:code>
<dev:code>PS C:\&gt; Request-ChatCompletion -Message $Message -Model gpt-4o -Images "C:\image.png"</dev:code>
<dev:remarks>
<maml:para></maml:para>
</dev:remarks>
Expand Down Expand Up @@ -17158,8 +17158,8 @@ If not specified, it will try to use `$global:OPENAI_ORGANIZATION` or `$env:OPEN
<command:example>
<maml:title>-------------------------- Example 2 --------------------------</maml:title>
<dev:code>PS C:\&gt; $BatchInputs = @()
PS C:\&gt; $BatchInputs += Request-ChatCompletion -Message 'Good morning.' -Model gpt-3.5-turbo -AsBatch -CustomBatchId 'custom-1'
PS C:\&gt; $BatchInputs += Request-ChatCompletion -Message 'Good night.' -Model gpt-3.5-turbo -AsBatch -CustomBatchId 'custom-2'
PS C:\&gt; $BatchInputs += Request-ChatCompletion -Message 'Good morning.' -Model gpt-4o-mini -AsBatch -CustomBatchId 'custom-1'
PS C:\&gt; $BatchInputs += Request-ChatCompletion -Message 'Good night.' -Model gpt-4o-mini -AsBatch -CustomBatchId 'custom-2'

PS C:\&gt; Start-Batch -InputObject $BatchInputs</dev:code>
<dev:remarks>
Expand Down
2 changes: 1 addition & 1 deletion PSOpenAI.psd1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@{
# Version number of this module.
ModuleVersion = '4.1.1'
ModuleVersion = '4.2.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down

0 comments on commit eaf2fb0

Please sign in to comment.