Skip to content

How-to Guides

Task recipes. Each page solves one concrete problem and shows a minimal working example in C++, Python, and Unreal where applicable. If you are new to Tryll, start with First inference; if you want the why, see Concepts.

Running the server

  • Run the Tryll Server — install or build from source, edit server-config.json, start, watch logs.

Sessions and agents

Models

Retrieval-augmented generation

Guardrails and scripted branches

Voice input

  • Use Voice Input — create a VoiceInput handle, stream PCM audio, receive transcripts, push-to-talk vs. hands-free.
  • Bias Voice Input with Hotwords — nudge the STT decoder toward game-specific proper nouns, spell names, and other lexicon items without retraining the model.

Tools

  • Define and Handle Tool Calls — declare ToolDefs, route on tool_called / no_tool_called, and handle OnToolCall / set_on_tool_call / SetOnToolCall client-side.
  • Concepts — the mental model behind each recipe.
  • Reference — field-level detail for every knob.