ChatGPT API in C# WPF
Briefly

To use the code, you need to sign up and get your OpenAI GPT3.5-turbo API key (free) at: https://platform.openai.com/account/api-keys.
ChatViewModel contains WhetstoneChatGPTService wrapping the NuGet package Whetstone.ChatGPT that does communication with OpenAI GPT3.5-turbo API. ChatViewModel also contains ChatHistory tracking a chat list with each chat holding the chat result. ChatList binds with the chat list in XAML on the left panel.
Read at CodeProject
[
]
[
|
]