code365scripts.openai
2.0.2.0
The non-official OpenAI PowerShell module. This module is used to interact with OpenAI API.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) code365.xyz. All rights reserved.
Package Details
Author(s)
- chenxizhang
Tags
code365 community china chenxizhang openai
Cmdlets
New-ChatGPTConversation New-ImageGeneration
Functions
New-ChatGPTConversation New-ImageGeneration
PSEditions
Dependencies
This module has no dependencies.
Release Notes
- 2024-04-29 v2.0.2.0 Fixed a bug related to streaming and prompt mode.
- 2024-04-28 v2.0.1.9 Fixed a bug related to get content from prompt parameter.
- 2024-04-28 v2.0.1.8 Fixed a bug related to get content from prompt parameter.
- 2024-04-28 v2.0.1.7 Fixed a bug related to get content from prompt parameter.
- 2024-04-27 v2.0.1.6 Fixed a bug related to azure openai service endpoint.
- 2024-04-27 v2.0.1.5 Add context support, you can pass variable to prompt (both system and user prompt) at the runtime.
- 2024-04-25 v2.0.1.4 Bug fixes.
- 2024-04-21 v2.0.1.3 Simplify the module,and re-design the New-ImageGeneration function.
- 2024-04-20 v2.0.1.2 Bug fixs.
- 2024-04-20 v2.0.1.1 Added local models support and other enhancements.
- 2024-02-17 v2.0.1.0 Added json output support for chat.
- 2024-02-17 v2.0.0.9 Use can say "bye" to exit chat
- 2024-02-17 v2.0.0.8 Fixed several issues on Mac and Linux
- 2024-01-08 v2.0.0.7 Code signing the module
- 2024-01-06 v2.0.0.6 Add support to vision completion, and prompt library support. you can submit prompt by submit-prompt and use a prompt from the library in all the cmdlets.
- 2023-12-15 v2.0.0.5 Enhance support online image, add outFile parameter, add alias to environment parameter.
- 2023-12-15 v2.0.0.4 Support online prompt file (system or user prompt), and online image.
- 2023-12-15 v2.0.0.3 Add alias to engine parameter (model, or deployment)
- 2023-12-15 v2.0.0.2 Add support to gpt-4-vision to generate completion from images.
- 2023-12-04 v2.0.0.1 Fix a bug (speical character parameter definition, caused by the PowerShell 5.x compatibility)
- 2023-12-03 v2.0.0.0 Add file input function, and custom profile support, and telemetry collection support.
- 2023-11-26 v1.1.1.4 PowerShell 5.x supports.
- 2023-11-26 v1.1.1.3 Multiple environment and DALL-E 3 support, and fix a lot of bugs.
- 2023-10-23 v1.1.1.2 Fix a bug (ConvertTo-Json truncate the result)
- 2023-09-25 v1.1.1.1 Fix a bug (New-ImageGeneration, or image alias)
- 2023-09-24 v1.1.1.0 Add image generation support (New-ImageGeneration, or image alias)
- 2023-09-23 v1.1.0.9 Add dynamic configuration support for New-ChatGPTConversation,see -config parameter
- 2023-09-17 v1.1.0.8 Add verbose support
- 2023-09-10 v1.1.0.7 Fix the help doc for New-ChatGPTConversation
- 2023-09-06 v1.1.0.6 Bug fix
- 2023-09-06 v1.1.0.5 Added chat completion support.
- 2023-08-12 v1.1.0.4 Added stream support for chat
- 2021-05-13 v1.1.0.3 Small enhancements (save result to clipboard, print the system prompt, etc.)
- 2021-05-13 v1.1.0.0 Simplify the module structure
- 2023-05-07 v1.0.4.12 Fixed the network connectivity test logic
- 2023-05-07 v1.0.4.11 Added azure OpenAI supporrt for New-ChatGPTConversation function
- 2023-05-07 v1.0.4.10 Added network connectivity test logic
- 2023-03-09 v1.0.4.9 Added change logs in the description.
- 2023-03-08 v1.0.4.8 Added error handling.
FileList
- code365scripts.openai.nuspec
- code365scripts.openai-help.xml
- Private\Get-PromptContent.ps1
- Private\Test-OpenAIConnectivity.ps1
- zh-CN\code365scripts.openai-help.xml
- Private\Merge-Hashtable.ps1
- Public\New-ChatGPTConversation.ps1
- zh-CN\resources.psd1
- code365scripts.openai.psd1
- Private\New-Gist.ps1
- Public\New-ImageGeneration.ps1
- _tests_\README.md
- code365scripts.openai.psm1
- Private\Profile.ps1
- Public\New-OpenAICompletion.ps1
- _tests_\test.ps1
- resources.psd1
- Private\Read-MultiLineInputBoxDialog.ps1
- Public\New-VisionCompletion.ps1
- Private\libs\Microsoft.ApplicationInsights.dll
- Private\Get-FirstNonNullItemInArray.ps1
- Private\Read-OpenFileDialog.ps1
- Public\Share-Prompt.ps1
- Private\libs\core\Microsoft.ApplicationInsights.dll
- Private\Get-ImageBase64Uri.ps1
- Private\Submit-Telemetry.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
4.0.0.5 | 20 | 9/1/2024 |
4.0.0.4 | 8 | 9/1/2024 |
4.0.0.3 | 19 | 8/7/2024 |
4.0.0.2 | 122 | 7/7/2024 |
4.0.0.1 | 60 | 6/28/2024 |
4.0.0.0 | 47 | 6/17/2024 |
3.0.1.2 | 38 | 6/14/2024 |
3.0.1.1 | 40 | 6/5/2024 |
3.0.1.0 | 12 | 6/3/2024 |
3.0.0.9 | 14 | 6/2/2024 |
3.0.0.8 | 6 | 6/2/2024 |
3.0.0.7 | 22 | 5/27/2024 |
3.0.0.6 | 9 | 5/26/2024 |
3.0.0.5 | 131 | 5/11/2024 |
3.0.0.4 | 8 | 5/11/2024 |
3.0.0.3 | 94 | 5/5/2024 |
3.0.0.2 | 7 | 5/5/2024 |
3.0.0.1 | 6 | 5/4/2024 |
3.0.0.0 | 8 | 5/2/2024 |
2.0.2.2 | 11 | 5/1/2024 |
2.0.2.1 | 8 | 5/1/2024 |
2.0.2.0 (current version) | 22 | 4/30/2024 |
2.0.1.9 | 14 | 4/28/2024 |
2.0.1.8 | 6 | 4/28/2024 |
2.0.1.7 | 22 | 4/28/2024 |
2.0.1.6 | 17 | 4/27/2024 |
2.0.1.5 | 30 | 4/27/2024 |
2.0.1.4 | 19 | 4/25/2024 |
2.0.1.3 | 20 | 4/21/2024 |
2.0.1.2 | 9 | 4/20/2024 |
2.0.1.1 | 6 | 4/20/2024 |
2.0.1.0 | 35 | 2/17/2024 |
2.0.0.9 | 9 | 2/17/2024 |
2.0.0.8 | 8 | 2/17/2024 |
2.0.0.7 | 27 | 1/8/2024 |
2.0.0.6 | 7 | 1/6/2024 |
2.0.0.5 | 35 | 12/16/2023 |
2.0.0.4 | 8 | 12/15/2023 |
2.0.0.3 | 9 | 12/15/2023 |
2.0.0.2 | 8 | 12/15/2023 |
2.0.0.1 | 12 | 12/4/2023 |
2.0.0.0 | 11 | 12/4/2023 |
1.1.1.4 | 16 | 11/26/2023 |
1.1.1.3 | 7 | 11/26/2023 |
1.1.1.2 | 27 | 10/23/2023 |
1.1.1.1 | 45 | 9/25/2023 |
1.1.1.0 | 10 | 9/24/2023 |
1.1.0.9 | 8 | 9/23/2023 |
1.1.0.8 | 92 | 9/17/2023 |
1.1.0.7 | 48 | 9/10/2023 |
1.1.0.6 | 17 | 9/6/2023 |
1.1.0.5 | 58 | 9/6/2023 |
1.1.0.4 | 53,699 | 8/12/2023 |
1.1.0.3 | 25 | 5/27/2023 |
1.1.0.2 | 118 | 5/13/2023 |
1.1.0.1 | 8 | 5/13/2023 |
1.1 | 10 | 5/13/2023 |
1.0.4.12 | 140 | 5/7/2023 |
1.0.4.11 | 10 | 5/7/2023 |
1.0.4.10 | 9 | 5/7/2023 |
1.0.4.9 | 215 | 3/8/2023 |
1.0.4.8 | 8 | 3/8/2023 |
1.0.4.7 | 46 | 3/5/2023 |
1.0.4.6 | 48 | 2/13/2023 |
1.0.4.5 | 10 | 2/13/2023 |
1.0.4.4 | 12 | 2/12/2023 |
1.0.4.3 | 8 | 2/12/2023 |
1.0.4.2 | 8 | 2/12/2023 |
1.0.4.1 | 8 | 2/12/2023 |
1.0.4 | 7 | 2/12/2023 |
1.0.3 | 9 | 2/12/2023 |
1.0.2 | 8 | 2/12/2023 |
1.0.1 | 8 | 2/12/2023 |
1.0.0 | 14 | 2/12/2023 |
0.0.0.23 | 9 | 2/11/2023 |
0.0.0.22 | 8 | 2/11/2023 |
0.0.0.21 | 8 | 2/11/2023 |
0.0.0.20 | 12 | 2/11/2023 |
0.0.0.19 | 9 | 2/11/2023 |
0.0.0.17 | 8 | 2/11/2023 |
0.0.0.16 | 8 | 2/11/2023 |
0.0.0.15 | 7 | 2/11/2023 |
0.0.0.14 | 7 | 2/11/2023 |
0.0.0.13 | 8 | 2/11/2023 |
0.0.0.12 | 8 | 2/11/2023 |
0.0.0.11 | 10 | 2/11/2023 |
0.0.0.10 | 10 | 2/11/2023 |
0.0.0.9 | 10 | 2/11/2023 |
0.0.0.8 | 9 | 2/11/2023 |
0.0.0.7 | 8 | 2/11/2023 |
0.0.0.6 | 8 | 2/10/2023 |
0.0.0.5 | 8 | 2/10/2023 |
0.0.0.4 | 9 | 2/10/2023 |
0.0.0.3 | 8 | 2/10/2023 |
0.0.0.2 | 10 | 2/9/2023 |
0.0.0.1 | 7 | 2/9/2023 |