https://github.com/dfinke/openai-powershell-samples
https://github.com/dfinke/openai-powershell-samples
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dfinke/openai-powershell-samples
- Owner: dfinke
- Created: 2023-05-13T13:59:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-10T17:08:38.000Z (over 1 year ago)
- Last Synced: 2025-03-18T20:15:19.832Z (about 1 month ago)
- Language: Jupyter Notebook
- Size: 28.3 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - dfinke/openai-powershell-samples - (Jupyter Notebook)
- awesome-ChatGPT-repositories - openai-powershell-samples - 🚀 Launched my @OpenAI/@Azure PowerShell Samples! With the PowerShellAI module, you'll have the power of ChatGPT at your fingertips. Explore the samples in Polyglot Interactive Notebooks. Let's redefine what's possible with AI! 👇 #PowerShell #MSBuild (CLIs)
README
# OpenAI/Azure OpenAI PowerShell Samples
[](https://codespaces.new/dfinke/openai-powershell-samples?quickstart=1)
Collection of OpenAI/Azure OpenAI samples written using the [PowerShell AI module](https://github.com/dfinke/PowerShellAI). Similar to the [OpenAI dotnet samples](https://github.com/Azure-Samples/openai-dotnet-samples).
**📤 One-click setup**: [Open a new Codespace](https://codespaces.new/dfinke/openai-powershell-samples), giving you a fully configured cloud environment.
## Prerequisites
- [Azure Account](https://aka.ms/free)
- Access to [Azure OpenAI](https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal) or [OpenAI](https://openai.com/)
- [VS Code](https://code.visualstudio.com/Download)
- [Polyglot Noteboks VS Code Extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-interactive-vscode)## Examples
### Generation
- [Airport code extractor](./OpenAI-Samples/airport-code-extractor.ipynb)
- [Calculate time complexity](./OpenAI-Samples/calculate-time-complexity.ipynb)
- [Create interview questions](./OpenAI-Samples/create-interview-questions.ipynb)
- [Extract contact information](./OpenAI-Samples/extract-contact-information.ipynb)### Classification
- [Classification](./OpenAI-Samples/classification.ipynb)
- [Extract keywords](./OpenAI-Samples/extract-keywords.ipynb)### Code
- [Explain code](./OpenAI-Samples/explain-code.ipynb)
- [Powershell to natural language](./OpenAI-Samples/powershell-to-natural-language.ipynb)
- [Powershell bug fixer](./OpenAI-Samples/powershell-bug-fixer.ipynb)