A Small Steam Game Shows How LLMs Could Kill the Dialogue Tree
www.404media.co
external-link
Verbal Verdict is the best use of generative AI I’ve seen.

Excerpts:

The Verbal Verdict demo drops me into an interrogation room with basic facts about the case to my left, and on the other side of a glass window are three suspects I can call one at a time for questioning. There are no prompts or briefings—I just have to start asking questions, either by typing them or speaking them into a microphone

The responses are mostly natural, and at times add just a bit more information for me to follow up on.

Mostly. Sometimes, the AI goes entirely off the rails and starts typing gibberish

There are, of course, still many limitations to this implementation of an LLM in a game. Kristelijn said that they are using a pretty “censored” model, and also adding their own restrictions, to make sure the LLM doesn’t say anything harmful. It also makes what should be a very small game much larger (the demo is more than 7GB), because it runs the model locally on your machine. Kristelijn said that running the model locally helps Savanna Developments with privacy concerns. If the LLM runs locally it doesn’t have to see or handle what players are typing. And it also is better for game preservation because if the game doesn’t need to connect to an online server it can keep running even if Savanna Developments shuts down.

it’s pretty hard to “write” different voices for them. They all kind of speak similarly. One character in the full version of the game, for example, speaks in short sentences to convey a certain attitude, but that doesn’t come close to the characterization you’d see in a game like L.A. Noire, where character dialogue is meticulously written to convey personality.

@zaphod@lemmy.ca
link
fedilink
English
88M

Wait… why the heck does it need to open a network port?

Probably or the ai if I should have guessed in the backend it’s using something like local ai, koboldcpp, llamacpp probably

It likely starts the LLM it uses as a service, and it requires running on a port. They could of course have rewritten it to not use a port and instead use other mechanisms possible when you’re in control of the code but then that requires modification of the LLM project they use and would make updating its version harder so such a thing would be reserved for the full release or skipped all together because it’s not really a big deal. All this assuming that they do use one of the hundreds of open source local LLM projects floating around Github.

@zaphod@lemmy.ca
link
fedilink
English
1
edit-2
8M

So laziness. Got it.

(They could easily move to an ipc mechanism that doesn’t require binding a port on a network interface but that’d require time and effort and why bother when the goal is to ship something fast and cheap while the AI hype is strong)

Sounds like a fun way to directly mess with their model though.

We’re talking about a demo here…

Big P
link
fedilink
English
18M

Why do you need to open a port if its listening locally?

Actually it’s not rare that a part of interprocess communication between a software’s processes is done through localhost networking

Big P
link
fedilink
English
18M

But what firewall blocks that by default?

Probably none, but I think OP did not say this

Big P
link
fedilink
English
18M

OP said that the port wasn’t open, unless they meant the port was already in use rather than the port was closed?

memfree
creator
link
fedilink
English
28M

It is probably easier. I used to run a program that ran its own mini server-like process to send input to other open programs. It used local ports. It didn’t need internet, but it did need ports. My first guess is that programmers already know a bunch of dev libraries that deal with ports so it is easier to use that than write something else from scratch.

@Midnitte@beehaw.org
link
fedilink
English
28M

If it runs the model as a service locally, it’s probably communicating to the game via a network port.

Similar to how some single player campaigns are still technically running a “server” for the game, despite being single player.

Create a post

From video gaming to card games and stuff in between, if it’s gaming you can probably discuss it here!

Please Note: Gaming memes are permitted to be posted on Meme Mondays, but will otherwise be removed in an effort to allow other discussions to take place.

See also Gaming’s sister community Tabletop Gaming.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

  • 1 user online
  • 45 users / day
  • 148 users / week
  • 530 users / month
  • 1.72K users / 6 months
  • 1 subscriber
  • 2.65K Posts
  • 42.6K Comments
  • Modlog