Hi I want to make a chat gpt bot that can respond to players in game. Sp far I have build the paths in my eclipse java project and coded something really simple, like this: but whenever i export to dreambot, I keep getting class not found error for the com.littlecat.chatgpt.official.ChatGPT. I have also added the jars to my libs folder , can someone help? thank you
import com.lilittlecat.*;
import com.lilittlecat.chatgpt.offical.ChatGPT;
import java.util.Scanner;
import com.lilittlecat.chatgpt.offical.ChatGPT;
public class test1 {
public static void main(String[] args) {
ChatGPT chatGPT = new ChatGPT("sk-PncS**************************");
String msg = chatGPT.ask("(talk in the style of an average osrs player, respond in less than 70 character and be grumpy)");
System.out.println(msg);
}
}