Posts

Showing posts with the label ChatGPT

I have created an application to extract text from image using AI

Image
 In this article, I am going to demonstrate how text is getting extracted from image file using Gemini AI model. Also, will explain how the application is developed with the help of chat GPT and some custom code.     Very first i gone to chatGPT application and added below prompts so that my application structure i can get the application code to start with. Following is the screenshot of the prompt i have written and answer given by chatGPT.    I have copied the code given by chat gpt and modified as per my requirement that means i got 70 to 80 percentage code to develop the application. Following are the Prerequisites required for development of this application : Visual studio code Python Api Key of Gemini can be obtain from https://aistudio.google.com    Open visual studio code and create the file with name " imagetextextractapp .py". Now in visual studio code and go to terminal menu and click on New terminal link it will open new terminal. In terminal enter below comm

Integrate ChatGPT OpenAI API in .NET Core Console Application from scratch.

Image
  In this Article I am going to demonstrate the integration of ChatGPT OpenAI API in .NET Core Console Application from scratch step by step.      Using ChatGPT API we can integrate the AI in our application just we need to call the API with the help of generating the secret key in ChatGPT developer page following is the steps to generate the secret key with screenshots.  You need to login with the ChatGPT credentials before generating the Secret Key.  On right corner of the page, click on personal icon and then click on View Api Key link On API Keys page click on +Create new secret key button  Then type your desired API key name and then click on   Create secret key button Your API key will be generated then click on copy button to copy the key and save it safely. Congratulation!!! your API key is created for use in console application.        Now we have the secret key with us then we can now move to ChatGPT page and get the code for the integration with console application from