Can an AI interaction panel similar to the one in the image below be added?
It's quite easy for me to achieve this using the following LA code. Many functionalities might need gradual refinement.
It's quite easy for me to achieve this using the following LA code. Many functionalities might need gradual refinement.
// script "_GPT.cs"
/*/ role exeProgram; outputPath %folders.Workspace%\exe\_GPT; console true; nuget ChatGPTNet\ChatGPT.Net; /*/ //.
using ChatGPT.Net;
script.setup(trayIcon: true, sleepExit: true);
//..
print.clear();
string sk="sk-XXX";
var bot = new ChatGpt(sk);
var prompt = string.Empty;
while (true)
{
Console.Write("You: ");
prompt = Console.ReadLine();
if (prompt is null) break;
if (string.IsNullOrWhiteSpace(prompt)) break;
if (prompt == "exit") break;
Console.Write("ChatGPT: ");
await bot.AskStream(Console.Write, prompt, "default");
Console.WriteLine();
}