code365scripts.openai

2.0.1.4

The non-official OpenAI PowerShell module. This module is used to interact with OpenAI API.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name code365scripts.openai

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name code365scripts.openai

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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

Desktop

Dependencies

This module has no dependencies.

Release Notes

- 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

Version History

Version Downloads Last updated
2.0.1.4 (current version) 2 4/25/2024
2.0.1.3 18 4/21/2024
2.0.1.2 7 4/20/2024
2.0.1.1 4 4/20/2024
2.0.1.0 33 2/17/2024
2.0.0.9 7 2/17/2024
2.0.0.8 6 2/17/2024
2.0.0.7 25 1/8/2024
2.0.0.6 5 1/6/2024
2.0.0.5 33 12/16/2023
2.0.0.4 6 12/15/2023
2.0.0.3 7 12/15/2023
2.0.0.2 6 12/15/2023
2.0.0.1 10 12/4/2023
2.0.0.0 9 12/4/2023
1.1.1.4 14 11/26/2023
1.1.1.3 5 11/26/2023
1.1.1.2 25 10/23/2023
1.1.1.1 43 9/25/2023
1.1.1.0 8 9/24/2023
1.1.0.9 6 9/23/2023
1.1.0.8 90 9/17/2023
1.1.0.7 46 9/10/2023
1.1.0.6 15 9/6/2023
1.1.0.5 56 9/6/2023
1.1.0.4 53,696 8/12/2023
1.1.0.3 23 5/27/2023
1.1.0.2 116 5/13/2023
1.1.0.1 6 5/13/2023
1.1 8 5/13/2023
1.0.4.12 138 5/7/2023
1.0.4.11 8 5/7/2023
1.0.4.10 7 5/7/2023
1.0.4.9 213 3/8/2023
1.0.4.8 6 3/8/2023
1.0.4.7 44 3/5/2023
1.0.4.6 46 2/13/2023
1.0.4.5 8 2/13/2023
1.0.4.4 10 2/12/2023
1.0.4.3 6 2/12/2023
1.0.4.2 6 2/12/2023
1.0.4.1 6 2/12/2023
1.0.4 5 2/12/2023
1.0.3 7 2/12/2023
1.0.2 6 2/12/2023
1.0.1 6 2/12/2023
1.0.0 12 2/12/2023
0.0.0.23 7 2/11/2023
0.0.0.22 6 2/11/2023
0.0.0.21 6 2/11/2023
0.0.0.20 10 2/11/2023
0.0.0.19 7 2/11/2023
0.0.0.17 6 2/11/2023
0.0.0.16 6 2/11/2023
0.0.0.15 5 2/11/2023
0.0.0.14 5 2/11/2023
0.0.0.13 6 2/11/2023
0.0.0.12 6 2/11/2023
0.0.0.11 8 2/11/2023
0.0.0.10 8 2/11/2023
0.0.0.9 8 2/11/2023
0.0.0.8 7 2/11/2023
0.0.0.7 6 2/11/2023
0.0.0.6 6 2/10/2023
0.0.0.5 6 2/10/2023
0.0.0.4 7 2/10/2023
0.0.0.3 6 2/10/2023
0.0.0.2 8 2/9/2023
0.0.0.1 5 2/9/2023
Show more