- Fixed assistant messages to not include
refusalorannotationsproperties when converting for API input - Updated system prompt in New-Agent to keep responses concise and pattern-aligned without domain-specific rules
- Simplified ConvertTo-OAIMessage function for better maintainability
- Added
/rewindslash command to InteractiveCLI for rewinding the conversation to before the last user message - Fixed
/listmsgsslash command to correctly display user messages after using/rewind - Enhanced
/rewindslash command to accept an optional number of messages to rewind (e.g.,/rewind 3rewinds the last 3 user messages)
- Added slash command support to InteractiveCLI
- Refactored InteractiveCLI for improved message handling and command processing
- Added InputReader parameter to InteractiveCLI for customizable input handling
- Added tests for InteractiveCLI slash command handling
- Bumped module version to 0.5.1
Thank you to https://github.com/jmkloz for the PR!
- Added optional
organizationIdparameter toSet-AzOAISecretsfor Azure OpenAI support Invoke-OAIBetanow sets theOpenAI-Organizationheader whenorganizationIdis provided
- Bump module version to 0.4.11
- Added 'Start-Conversation' alias
- Big thank you to Kenny White
- Added much needed message info for the user "You exceeded your current quota, please check your plan and billing details"
- Made
Search-YouTubeandGet-YouTubeTranscriptglobal functions
- Added
Invoke-YouTubeAIAssistant. Includes two toolsGet-YouTubeTranscriptandSearch-YouTube
ConvertTo-AIPromptupdated to be case insensitive for the repo and directory names
- Added
ConvertTo-AIPrompt- Converts a GitHub repository into a single XML file optimized for AI tools.
- Added
ToolsandShowToolCallstoInvoke-QuickPromptakaq - Added gpt-4.5-preview to argument completion
- Ensure consistency for using Out-BoxedText
- Support for o3-mini reasoning model
- Fix word wrapping in the console visuals.
- Replaced PwshSpectreConsole for drawing the console visuals with a new module.
- Big thank you to Axel Andersen
Axel dove into PSAI, understood the codebase and the direction, and then added a ton of value. This is one of many PRs to come from Axel.
- Updated the
Register-Toolfunction to support function-calling schemas and work with built-in PowerShell functions.
- Fix multi line description transpiled to Json
- Check if result is null from function calling. Set a default value so the operation continues, and the model has more info
- Added PwshSpectreConsole for console visuals
- Thanks again to Axel
- Updated parameter type translation to support more data types for function calling
- Huge thanks to Axel
- handles more data type translations
- handles function transpilation not created in PowerShell
- and more!
- Added AI YouTube components - 'Invoke-YouTubeAssistant', 'Get-YouTubeTop10' and 'New-YouTubeTool'
- Integrate my PSAI Agents module #35 by @dfinke in https://github.com/dfinke/PSAI/pull/360
- Added o1-* models
- Added
strictparameter for function calling
- For users on an older version of PowerShell
- Don't use the ternary operator or parallel processing
- Added new OpenAI model
- Added
Invoke-AIPrompt- Uses persona and system messages - Added
Update-TypeDatato extendSystem.StringandSystem.Array
- Fix $model to 'gpt-4o-mini'
- Update default model to 'gpt-4o-mini' in Invoke-OAIChat.ps1, Invoke-OAIChatCompletion.ps1, and New-OAIAssistant.ps1
- Add model
GPT-4o mini. Most advanced model in the small models category, and cheapest model yet.
- Remove unused Show-OAILocalPlayground.tests.ps1 file
- Add Show-OAIBilling function to open OpenAI platform billing
- Update Invoke-OAIChatCompletion.ps1 to handle JSON response
- Update
dumpJsonwith-Depthparameter to control the depth of the JSON output
- Updated
New-OAIThreadto support the the correct payload for the provider - Updated
Invoke-OAIChatCompletionto support Azure OpenAI
In the latest update to the PSAI module, several new features and enhancements were introduced. This supports the OpenAI V2 capabilities.
New functions include Add-OAIVectorStore, Enable-AIShortCutKey, Enable-OAIFileSearchTool, and various Get-, New-, Remove-, Show-, Stop-, and Update- commands focusing on vector stores, chat functionalities, and file operations.
Enhancements were made to existing commands like Get-AzOAISecrets, Get-OAIAssistant, Invoke-OAIChat, and others to improve functionality and performance.
These updates expand the module's capabilities in managing vector stores, enhancing chat interactions, and integrating with OpenAI and Azure services.
- Thank you to Pete Cook for adding a script designed to identify the top 5 critical events in the Windows event log. critical-events.ps1
- Added Invoke-FilesToPrompt.ps1 that concatenates a directory full of files into a single prompt for use with LLMs
- Fix
Invoke-OAIChatto handle the userInput and Instructions correctly
- Initial release