Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dfinke/openai-powershell-samples


https://github.com/dfinke/openai-powershell-samples

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# OpenAI/Azure OpenAI PowerShell Samples

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](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)