Install-Package HugPi -Version 1.0.0
using hugging_api;
download webdriver who is your chrome version.
https://chromedriver.storage.googleapis.com/index.html
Create an instance
//public HugPi(string DriverPATH,string api = "facebook/blenderbot-400M-distill")
HugPi hug = new HugPi(@"C:\Users\GROOPHY\Desktop\desktop\Apps", "facebook/blenderbot-400M-distill");
Start asking to ai
Console.WriteLine("AI: " + hug.Ask("How are you?"));
at the end, don't forget kill or windows will can not close.
hug.Kill();
if you want to be sure about close all
HugPi.KillAllProcess();
HugPi hug = new HugPi(@"C:\Users\GROOPHY\Desktop\desktop\Apps");
Console.Clear();
while (true)
{
Console.Write("You: ");
string input = Console.ReadLine();
if (input == "quit")
{
break;
}
Console.WriteLine("AI: " + hug.Ask(input));
}
hug.Kill();