{"repo":"mkht/PSOpenAI","free":true,"listed":false,"github":"https://github.com/mkht/PSOpenAI","clone":"git clone https://github.com/mkht/PSOpenAI.git","description":"PowerShell module for OpenAI API.","language":"PowerShell","stars":66,"topics":["azureopenai","chatgpt","openai","powershell"],"license":"MIT","category":"ai-agents","readme_excerpt":"PSOpenAI PowerShell module for OpenAI and Azure OpenAI Service. You can use OpenAI functions such as ChatGPT, Speech-to-Text, Text-to-Image from PowerShell. This is a community-based project and is not an official offering of OpenAI. + About OpenAI API https://platform.openai.com/docs + About Azure OpenAI Service https://learn.microsoft.com/en-us/azure/ai-services/openai/overview ---- Supported Platforms + Windows PowerShell 5.1 + PowerShell 7 or higher + Windows, macOS or Linux You need to sign-up OpenAI account and generates API key for authentication. https://platform.openai.com/api-keys ---- Installation You can install PSOpenAI from PowerShell Gallery. ---- Functions The full list of functions Common + ConvertFrom-Token + ConvertTo-Token + Get-CosineSimilarity + Get-OpenAIContext + Set-OpenAIContext + Clear-OpenAIContext OpenAI Chat Guide: How to use Chat + Enter-ChatGPT + Request-ChatCompletion + Get-ChatCompletion + Set-ChatCompletion + Remove-ChatCompletion + New-ChatCompletionFunction Responses Guide: Migrate ChatCompletion to Response + Request-Response + Get-Response + Remove-Response + Get-ResponseInputItem + Request-ResponseCompaction Conversations + New-Conversation + Get-Conversation + Set-Conversation + Remove-Conversation + Add-ConversationItem + Get-ConversationItem + Remove-ConversationItem Assistants Guide: How to use Assistants Guide: How to use File search with Assistants and Vector Store + Get-Assistant + New-Assistant + Set-Assistant + Remove-Assistant","default_branch":null,"files":null,"tree":[],"storefront":"/r/mkht","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mkht/PSOpenAI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}