This AI Console application is developed in .NET 8 and utilizes Azure AI Service to provide responses to tons of questions on a specified subject and topic. The application is designed to efficiently handle large sets of questions and write corresponding responses to configured output file with extensions.
Before running the application, ensure that you have the following prerequisites installed:
- .NET 8 SDK: Download .NET 8
- Azure AI Service credentials: Obtain Azure AI Service credentials and replace them in the configuration file.
- 
Open the appsettings.jsonfile.
- 
Replace AzureAIKey,AzureAIUrlandYourGithubAliaswith your Azure AI Service key, endpoint and YourGithubAlias.
- 
Configure other settings such as the SubjectListFilePath,AiQuestionFilePath, andAiOutPutDirPathTextas needed.<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <!--Azure AI Credentials--> <add key="AzureAIUrl" value="" /> <add key="AzureAIKey" value="" /> <add key="YourGithubAlias" value="" /> <!--Input--> <add key="SubjectListFilePath" value="user-input\want-to-learn.json" /> <add key="AiQuestionFilePath" value="user-input\raw-questions.json" /> <!--Output--> <add key="AiOutPutDirPathText" value="output" /> </appSettings> </configuration>
- 
want-to-learn.jsonsample json as below```want-to-learn.json [ { "Subject": "TypeScript", "Topics": [ "TS Introduction", "TS Get Started", "TS Simple Types", "TS Special Types", "TS Arrays", "TS Tuples", "TS Object Types", "TS Enums" ] } ] ```
- 
raw-questions.jsonWhat questions arise in the mind when acquiring knowledge about new technology? sample json as below[ { "Question": "What is {0} {1}?", "FileExtension": "html" }, { "Question": "When to use {0} {1}?", "FileExtension": "html" }, { "Question": "Where to use {0} {1}?", "FileExtension": "html" }, { "Question": "Who will use {0} {1}?", "FileExtension": "html" }, { "Question": "Why to use {0} {1}?", "FileExtension": "html" }, { "Question": "Create an HTML web page, demonstration for {0} {1}?", "FileExtension": "html" } ]Note: In raw-questions.json file - {0} = Subject and {1} = Topic 
Build the application:
dotnet buildRun the application:
 dotnet run --project .\LearningPlanConsoleGPT\LearningPlanConsoleGPT.csprojFollow the on-screen prompts - It will show the output file name with its corresponding extension.
The application will process the questions using Azure AI Service and save the responses to files with the specified file extension.

