---
title: "Comment by Joseph Handschu on \"How to integrate Chat-GPT using C# and .Net Core\" | Hashnode"
description: "Well, this is a great intro to the integration however when I tried to run it is missing a complete class. The ADGenerateRequestModel is not where to be found."
url: "https://hashnode.com/posts/how-to-integrate-chat-gpt-using-c-and-net-core/63efe862ce7e37e13eb834f6/comment/6687f39fe660b5474f8842b3"
---

[Discussion](https://hashnode.com/posts/how-to-integrate-chat-gpt-using-c-and-net-core/63efe862ce7e37e13eb834f6)

Comment [How to integrate Chat-GPT using C# and .Net Core](https://hashnode.com/posts/how-to-integrate-chat-gpt-using-c-and-net-core/63efe862ce7e37e13eb834f6)

[Joseph Handschu](https://hashnode.com/@jhandschu)

[Jul 5, 2024](https://hashnode.com/posts/how-to-integrate-chat-gpt-using-c-and-net-core/63efe862ce7e37e13eb834f6/comment/6687f39fe660b5474f8842b3)

Well, this is a great intro to the integration however when I tried to run it is missing a complete class. The ADGenerateRequestModel is not where to be found. Is there a GIT or any follow up to this article?

public async Task> GenerateContent(ADGenerateRequestModel generateRequestModel) { var apiKey = \_configuration.GetSection("Appsettings:GChatAPIKEY").Value; var apiModel = \_configuration.GetSection("Appsettings:Model").Value; List rq = new List(); string rs = ""; OpenAIAPI api = new OpenAIAPI(new APIAuthentication(apiKey)); var completionRequest = new OpenAI\_API.Completions.CompletionRequest() {
