This is a fun idea lol, sadly it would kinda make the game rely on an internet connection for this stuff, but I could see things like this being tried out in the future, maybe one day the trick with the coffee machine turning on won't just be happening in the game itself...
No, it wouldn't require an internet connection. It will just require much more diskspace for the game. (that said, who the fuck doesn't have an internet connection?????)
There are tools that can run locally which are almost as good as ChatGPT.
llama.cpp and alpaca.cpp are Github C++ programs which can be executed through unity and the response caught and used in game.
You must be registered to see the links
You must be registered to see the links
There's even code that should be compilable in unity:
You must be registered to see the links
They use this AI model, which can be downloaded in a more precise variant but takes up much more space.
Alpaca:
You must be registered to see the links