r/ComputerCraft • u/Halru_Gaebora • Aug 26 '25
Artificial intelligence
I was looking through ComputerCraft and discovered that you can make a kind of AI (I say kind of because it gives pre-set answers), but I couldn't figure out how to do it. Actually, I did find out, but it has limited functionality. Does anyone know anything about this?
4
Upvotes
7
u/Able_Mail9167 Aug 26 '25
This is a pretty vague question. It sounds like a basic chat bot which will always be limited in some way. You'll also never get a full LLM working in lua in a mod.
The closest you can get is by using an API for an LLM like the chat GPT API.
2
u/IJustAteABaguette Aug 27 '25
Please give a more precise question.
What do you want to know? Are you interested in making a sort of chatbot? Making one with predefined answers/questions is quite simple (mostly), Just time consuming. You could use an API from a company that sells LLM text generation.
1
u/SeriousPlankton2000 Aug 27 '25
Probably it's this, but I'm guessing
https://en.wikipedia.org/wiki/ELIZA