Coding C# to use the OpenAI Chat API



Coding C# to use the OpenAI Chat API

Coding C# to use the OpenAI Chat API

In this video I develop a C# console app that uses the OpenAI Chat API to hold conversations in a variety of styles. I am also going to train the Chat API so that it focusses on a particular subject and doesn’t deviate from it.

The API key can be obtained here:
https://platform.openai.com/account/api-keys

The endpoint of the API is:
https://api.openai.com/v1/chat/completions