top of page

Welcome to My

Game Gallery

RayCheng Large Language Model Demo

This demo primarily showcases how we can integrate an NPC with a language model into our 3D game, enabling players to interact with them through dynamic and flexible dialogues.

 

The language model I’m using is Llama-3.2-1b-instruct.

II launched this model on a local server and utilized Unity's built-in functions to send web requests and retrieve responses from the server.

With resource management scripts in place, I’ve successfully created a chatting bot that delivers fast and stable response behavior.

bottom of page