outfitwear 0 Posted April 2, 2023 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); } }
outfitwear 0 Author Posted April 3, 2023 any ideas on how to do it/ why I'm getting the error? Ive moved all the relevant jars into my libs folder, configured the build paths correctly in eclipse etc... Does dreambot client not recognise external jars and you can only use the client.jar? cheers
Recommended Posts
Archived
This topic is now archived and is closed to further replies.