All Things Compute

How to Use the ChatGPT in C#

ChatGPT is a powerful language model developed by OpenAI that can generate human-like text responses to a wide range of input prompts. With the ChatGPT API, you can integrate this cutting-edge technology into your own C# applications with ease. In this guide, we’ll walk you through the process of using the ChatGPT API in C#.

Prerequisites

Before you can use the ChatGPT API in your C# application, you’ll need to sign up for an API key. You can do this by following these steps:

  1. Go to the OpenAI website and create an account.
  2. Navigate to the API Keys page and create a new API key.
  3. Copy the API key to your clipboard.

You’ll also need to install the OpenAI nuget package, which provides a C# wrapper for the ChatGPT API. You can do this using the Package Manager Console:

Install-Package OpenAI
read more

A Developers Journey Into Management

It’s been a long time since I posted, and I’ve had an interesting journey both in my professional and personal life. I’ve finally had the time to think about blogging again. So hopefully this will be the beginning of many more posts in the future.

I recently was asked to be a guest on the Visioning Podcast at Cognizant.

Listen here to hear about my journey.

read more

A New Beginning

Well after a long time using a GCP VM using wordpress by bitnami, I kept getting hacked by cryptominers insert angry face. And in an attempt in blocking them, I blocked all access to the vm, and could no longer log in. So here is my attempt at blogging with jekyll.

Check out my github page where I will keep all the demo source that supports this blog.

read more