Ask coding questions

← Back to all posts
Can you make an AI assistant in Java?
ZacPlayz (64)

Read the title yes, I need to make an AI assistant for my Role-play game "The War" named as Zefire. Zefire was actually planned to be an online search engine but was developed as an AI assistant in one of my friends' HTML website with my permission. Of course, I plan Zefire to be up there with Siri, Alexa, and Google Assistant. So is it possible with Java to make an AI assistant for my game "The War"? Whoever answered me first will get 5 cycles for answering + 1 cycle if I like the way they answered (Professional tone). Overall 6 cycles!! So please answer quickly!
Thanks!!

Answered by CodeLongAndPros (1364) [earned 5 cycles]
View Answer
Commentshotnewtop
CodeLongAndPros (1364)

You just need some API keys. I use Wolfram|Alpha and Wikipedia

ZacPlayz (64)

API keys?? Can you make an AI Java assistant in one of your codes and show me it, because I don't really know what API keys are and how do I write them and how do I use them, etc.. @CodeLongAndPros

CodeLongAndPros (1364)

@ZacPlayz They're like a username for a service. Just search WolframAlpha API use Java

ZacPlayz (64)

@CodeLongAndPros look at this I went to the WolframAlpha API website and I got one of the files that I downloaded, tho it gives me a ton of errors when I load it... What is the problem?? Plus, the system says that the imports don't exist... Run this.

https://repl.zacplayz.repl.run

CodeLongAndPros (1364)

@ZacPlayz I would google "WolframAplha Java GeeksForGeeks", they have good resources,