Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AI Interaction Panel
#1
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.
Code:
Copy      Help
// 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();
}
   


Forum Jump:


Users browsing this thread: 1 Guest(s)