outfitwear 0 Share Posted April 2, 2023 (edited) 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); } } Edited April 2, 2023 by outfitwear Link to comment Share on other sites More sharing options...
Jaykwon 43 Share Posted April 3, 2023 Hmmmmm I’ve seen this before……. Link to comment Share on other sites More sharing options...
outfitwear 0 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now