PSOpenAI
2.10.0
PowerShell module for OpenAI API
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2024 mkht. All rights reserved.
Package Details
Author(s)
- mkht
Tags
Functions
Get-Assistant New-Assistant Remove-Assistant Set-Assistant Get-Thread New-Thread Remove-Thread Set-Thread Add-ThreadMessage Get-ThreadMessage Start-ThreadRun Stop-ThreadRun Get-ThreadRun Wait-ThreadRun Receive-ThreadRun Submit-ToolOutput Get-ThreadRunStep New-ChatCompletionFunction ConvertFrom-Token ConvertTo-Token Enter-ChatGPT Get-CosineSimilarity Get-OpenAIModels Request-AudioSpeech Request-AudioTranscription Request-AudioTranslation Request-ChatCompletion Request-Embeddings Request-ImageEdit Request-ImageGeneration Request-ImageVariation Request-Moderation Request-TextCompletion Register-OpenAIFile Remove-OpenAIFile Get-OpenAIFile Get-OpenAIFileContent Get-AzureOpenAIModels Request-AzureAudioSpeech Request-AzureAudioTranscription Request-AzureAudioTranslation Request-AzureChatCompletion Request-AzureExtensionsChatCompletion Request-AzureEmbeddings Request-AzureTextCompletion Request-AzureImageGeneration
PSEditions
Dependencies
This module has no dependencies.
FileList
- PSOpenAI.nuspec
- CHANGELOG.ja.md
- PSOpenAI.psm1
- Private\Convert-ImageToDataURL.ps1
- Private\Get-CultureInfo.ps1
- Private\Initialize-APIKey.ps1
- Private\New-MultipartFormContent.ps1
- Public\ConvertTo-Token.ps1
- Public\Request-AudioTranscription.ps1
- Public\Request-ImageVariation.ps1
- Private\Threads\ParseThreadObject.ps1
- Public\Azure\Request-AzureAudioSpeech.ps1
- Public\Azure\Request-AzureImageGeneration.ps1
- Public\Runs\Get-ThreadRun.ps1
- Public\Runs\Submit-ToolOutput.ps1
- Public\Threads\New-Thread.ps1
- Libs\TokenizerLib\netstandard2.0\cl100k_base.tiktoken
- CHANGELOG.md
- PSOpenAI.Types.ps1xml
- Private\Convert-LogitBiasDictionary.ps1
- Private\Get-MaskedString.ps1
- Private\Initialize-OrganizationID.ps1
- Private\Parse-WebExceptionResponse.ps1
- Public\Enter-ChatGPT.ps1
- Public\Request-AudioTranslation.ps1
- Public\Request-Moderation.ps1
- Public\Assistants\Get-Assistant.ps1
- Public\Azure\Request-AzureAudioTranscription.ps1
- Public\Azure\Request-AzureTextCompletion.ps1
- Public\Runs\Get-ThreadRunStep.ps1
- Public\Runs\Wait-ThreadRun.ps1
- Public\Threads\Remove-Thread.ps1
- Libs\TokenizerLib\netstandard2.0\gpt2.tiktoken
- LICENSE
- README.ja.md
- Private\Convert-ModelToEncoding.ps1
- Private\Get-OpenAIAPIEndpoint.ps1
- Private\Invoke-ChatCompletionFunction.ps1
- Private\Should-Retry.ps1
- Public\Get-CosineSimilarity.ps1
- Public\Request-ChatCompletion.ps1
- Public\Request-TextCompletion.ps1
- Public\Assistants\New-Assistant.ps1
- Public\Azure\Request-AzureAudioTranslation.ps1
- Public\Files\Get-OpenAIFile.ps1
- Public\Runs\Receive-ThreadRun.ps1
- Public\Threads\Add-ThreadMessage.ps1
- Public\Threads\Set-Thread.ps1
- Libs\TokenizerLib\netstandard2.0\p50k_base.tiktoken
- PSOpenAI-Help.xml
- README.md
- Private\Copy-TempFile.ps1
- Private\Get-RetryDelay.ps1
- Private\Invoke-OpenAIAPIRequest.ps1
- Private\Test-Debug.ps1
- Public\Get-OpenAIModels.ps1
- Public\Request-Embeddings.ps1
- Private\Azure\Get-AzureOpenAIAPIEndpoint.ps1
- Public\Assistants\Remove-Assistant.ps1
- Public\Azure\Request-AzureChatCompletion.ps1
- Public\Files\Get-OpenAIFileContent.ps1
- Public\Runs\Start-ThreadRun.ps1
- Public\Threads\Get-Thread.ps1
- Libs\CancelableWait\netstandard2.0\CancelableWait.dll
- Libs\TokenizerLib\netstandard2.0\r50k_base.tiktoken
- Private\Assert-UnsupportedModels.ps1
- Private\Enums.ps1
- Private\Get-UserAgent.ps1
- Private\Invoke-OpenAIAPIRequestSSE.ps1
- Private\Utils.ps1
- Public\New-ChatCompletionFunction.ps1
- Public\Request-ImageEdit.ps1
- Private\Runs\ParseThreadRunObject.ps1
- Public\Assistants\Set-Assistant.ps1
- Public\Azure\Request-AzureEmbeddings.ps1
- Public\Files\Register-OpenAIFile.ps1
- Public\Runs\Stop-ThreadRun.ps1
- Public\Threads\Get-ThreadMessage.ps1
- Libs\CustomAttributes\netstandard2.0\CustomAttributes.dll
- Libs\TokenizerLib\netstandard2.0\TokenizerLib.dll
- PSOpenAI.psd1
- Private\ChatCompletionFunction.ps1
- Private\Exceptions.ps1
- Private\Initialize-APIBase.ps1
- Private\New-MultipartFormBoundary.ps1
- Public\ConvertFrom-Token.ps1
- Public\Request-AudioSpeech.ps1
- Public\Request-ImageGeneration.ps1
- Private\Runs\ParseThreadRunStepObject.ps1
- Public\Azure\Get-AzureOpenAIModels.ps1
- Public\Azure\Request-AzureExtensionsChatCompletion.ps1
- Public\Files\Remove-OpenAIFile.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 4.51.0 | 761 | 9/5/2026 |
| 4.50.0 | 776 | 8/15/2026 |
| 4.49.0 | 2,920 | 5/23/2026 |
| 4.48.0 | 1,706 | 2/7/2026 |
| 4.47.0 | 137 | 1/28/2026 |
| 4.46.0 | 254 | 12/19/2025 |
| 4.45.0 | 66 | 12/13/2025 |
| 4.44.0 | 68 | 12/6/2025 |
| 4.43.0 | 194 | 11/14/2025 |
| 4.42.0 | 9 | 11/14/2025 |
| 4.41.0 | 193 | 10/18/2025 |
| 4.40.0 | 87 | 10/12/2025 |
| 4.39.1 | 50 | 10/7/2025 |
| 4.39.0 | 342 | 9/24/2025 |
| 4.38.0 | 697 | 9/14/2025 |
| 4.37.0 | 613 | 9/2/2025 |
| 4.36.0 | 255 | 8/27/2025 |
| 4.35.0 | 170 | 8/24/2025 |
| 4.34.0 | 61 | 8/18/2025 |
| 4.33.0 | 76 | 8/9/2025 |
| 4.32.0 | 491 | 7/30/2025 |
| 4.31.0 | 223 | 7/20/2025 |
| 4.30.0 | 267 | 7/13/2025 |
| 4.29.1 | 619 | 6/20/2025 |
| 4.29.0 | 47 | 6/18/2025 |
| 4.28.0 | 180 | 6/7/2025 |
| 4.27.0 | 93 | 6/4/2025 |
| 4.26.0 | 168 | 5/28/2025 |
| 4.25.0 | 174 | 5/17/2025 |
| 4.24.0 | 163 | 5/3/2025 |
| 4.23.0 | 92 | 4/17/2025 |
| 4.22.0 | 17 | 4/15/2025 |
| 4.21.0 | 18 | 4/13/2025 |
| 4.20.0 | 388 | 3/21/2025 |
| 4.19.0 | 214 | 3/13/2025 |
| 4.18.0 | 514 | 2/28/2025 |
| 4.17.0 | 1,316 | 2/16/2025 |
| 4.16.0 | 1,025 | 2/9/2025 |
| 4.15.0 | 1,047 | 2/5/2025 |
| 4.14.0 | 1,414 | 2/1/2025 |
| 4.13.1 | 2,798 | 1/26/2025 |
| 4.13.0 | 1,269 | 1/22/2025 |
| 4.12.2 | 7,425 | 12/27/2024 |
| 4.12.0 | 2,261 | 12/21/2024 |
| 4.11.0 | 4,478 | 11/20/2024 |
| 4.10.0 | 1,370 | 11/6/2024 |
| 4.9.1 | 382 | 11/1/2024 |
| 4.8.0 | 182 | 10/27/2024 |
| 4.7.0 | 1,719 | 10/2/2024 |
| 4.6.0 | 74 | 10/1/2024 |
| 4.5.0 | 221 | 9/27/2024 |
| 4.4.1 | 371 | 9/19/2024 |
| 4.4.0 | 296 | 9/13/2024 |
| 4.3.0 | 364 | 9/6/2024 |
| 4.2.0 | 959 | 8/16/2024 |
| 4.1.1 | 149 | 8/12/2024 |
| 4.1.0 | 58 | 8/11/2024 |
| 4.0.0 | 528 | 7/19/2024 |
| 3.16.0 | 410 | 7/7/2024 |
| 3.15.1 | 721 | 6/19/2024 |
| 3.15.0 | 241 | 6/14/2024 |
| 3.14.0 | 80 | 5/26/2024 |
| 3.13.0 | 23 | 5/24/2024 |
| 3.12.0 | 416 | 5/14/2024 |
| 3.11.0 | 9 | 5/13/2024 |
| 3.10.0 | 13 | 5/11/2024 |
| 3.9.1 | 100 | 5/2/2024 |
| 3.9.0 | 7 | 5/2/2024 |
| 3.8.0 | 13 | 4/29/2024 |
| 3.7.0 | 15 | 4/25/2024 |
| 3.6.1 | 20 | 4/17/2024 |
| 3.6.0 | 20 | 4/14/2024 |
| 3.5.0 | 20 | 4/8/2024 |
| 3.4.0 | 49 | 4/1/2024 |
| 3.3.1 | 139 | 3/25/2024 |
| 3.3.0 | 33 | 3/24/2024 |
| 3.2.0 | 172 | 3/17/2024 |
| 3.1.0 | 474 | 3/10/2024 |
| 3.0.0 | 310 | 2/27/2024 |
| 2.10.0 (current version) | 126 | 2/22/2024 |
| 2.9.0 | 130 | 2/14/2024 |
| 2.8.0 | 15 | 2/10/2024 |
| 2.7.0 | 103 | 1/27/2024 |
| 2.6.2 | 18 | 1/20/2024 |
| 2.6.1 | 11 | 1/19/2024 |
| 2.6.0 | 13 | 1/13/2024 |
| 2.5.0 | 66 | 12/27/2023 |
| 2.4.0 | 21 | 12/18/2023 |
| 2.3.0 | 146 | 11/28/2023 |
| 2.2.0 | 14 | 11/23/2023 |
| 2.1.0 | 21 | 11/10/2023 |
| 2.0.0 | 20 | 10/20/2023 |
| 1.15.2 | 43 | 10/4/2023 |
| 1.15.1 | 8 | 10/4/2023 |
| 1.15.0 | 11 | 10/4/2023 |
| 1.14.3 | 15 | 9/19/2023 |
| 1.14.2 | 465 | 8/23/2023 |
| 1.14.0 | 71 | 6/19/2023 |
| 1.12.6 | 32 | 5/23/2023 |
| 1.12.5 | 22 | 5/16/2023 |
| 1.12.4 | 12 | 5/14/2023 |
| 1.12.3 | 11 | 5/8/2023 |
| 1.12.2 | 120 | 5/6/2023 |
| 1.12.1 | 14 | 5/4/2023 |
| 1.12.0 | 9 | 5/3/2023 |
| 1.11.0 | 11 | 4/28/2023 |
| 1.10.0 | 9 | 4/27/2023 |
| 1.9.2 | 14 | 4/23/2023 |
| 1.9.1 | 10 | 4/23/2023 |
| 1.9.0 | 9 | 4/22/2023 |
| 1.8.0 | 11 | 4/19/2023 |
| 1.7.0 | 12 | 4/15/2023 |
| 1.6.0 | 14 | 4/10/2023 |
| 1.5.0 | 15 | 4/9/2023 |
| 1.4.0 | 14 | 4/1/2023 |
| 1.3.0 | 12 | 3/28/2023 |
| 1.2.1 | 15 | 3/21/2023 |
| 1.2.0 | 18 | 3/13/2023 |
| 1.1.2 | 13 | 3/11/2023 |
| 1.1.0 | 12 | 3/9/2023 |
| 1.0.0 | 15 | 3/8/2023 |