JMServers

Artificial Intelligence

Local LLM Integration

An experiment in producing contextual dialogue for simulated players using local inference.

ExperimentalPersonal research and developmentC++ · SQL · Ollama

System flow

  1. Game event
  2. Context and prompt
  3. Inference service
  4. Dialogue

Project scope

I experimented with generating dialogue for simulated players using a locally running inference service. The work explores how to pass game context to a language model and fit inference alongside a game server on limited hardware.

Implementation

The MMO workspace contains a configurable LLM chatter module, SQL migrations for persistent player context, and support for an Ollama backend. The Debian lab also runs Ollama.

Next steps

Measure end-to-end latency under a representative load and compare prompt composition, model size, and response pacing. Model-specific performance remains unmeasured for publication.

Related work