/openai-chat-copilot

Simple .NET console application demonstrating Azure.AI.OpenAI NuGet package with OpenAI and Azure OpenAI.

Primary LanguageC#MIT LicenseMIT

OpenAI and Azure OpenAI Chat - Shakespeare Chat

Header

This repository contains a simple console application written in .NET 8 to demonstrate how to use the chat functionality of OpenAI and/or Azure OpenAI using the Azure.AI.OpenAI NuGet package.

Usage

You need to create an OpenAI account on this website. You have to pay to use the API so make sure that you add your payment information. After that, you can create an API Key here for further use. If you have access to an Azure OpenAI instance you can also use this instance for the demo application.

Just run the app and follow the steps displayed on the screen.

Screenshots

Here you can see the console application in action:

First you need to select the host.

Console1

You need to enter the needed properties, like endpoints or API keys.

Console2

Finally you are able to chat with William Shakespeare.

Console3

Blog Post / YouTube Video

If you are more interested into details, please see the following posts on medium.com or in my personal blog:

You can also watch the following video on my YouTube channel: