Giter Site home page Giter Site logo

godot-llm-poc's Introduction

godot-llm-poc

A free game, made with Godot, using an LLM to drive NPC dialogue, and player dialogue options

Introduction

Something like Coffee Talk:

Coffee Talk is a coffee brewing and heart-to-heart talking simulator about listening to fantasy-inspired modern peoples’ problems, and helping them by serving up a warm drink or two.

I'm focusing on the "talking simulator" bit. A fantasy person could enter the coffee shop, and be a - say - plumber, with aspirations to become a writer. Then you'll shoot the breeze, and NPC dialogue will be LLM-generated, and the 2 or 3 player dialogue options will also be LLM-generated (to save them from typing much).

We can run sentiment analysis on the dialogue, which can drive the NPC's facial expressions. We can maybe start with a small set of expressions for these emotions:

  • angry
  • confused
  • happy
  • sad
  • surprised

And maybe some extras:

  • bored
  • embarrassed
  • excited
  • frustrated
  • lonely
  • nervous
  • proud
  • scared
  • shy
  • silly

Notes

(I'm busy, and will work on this every sometimes, but for now, I'll add thoughts directly to this README)

  • NPC dialogue could be role-prompted, e.g. "You are a plumber who aspire to be a writer. <remainder of prompt>"
  • Something like Mosaic's StoryWriter has a generous context window, but I'd have to test and see what minimum GPU is required, and if the model needs to be quantised or somehow further reduced to fit regular/common consumer GPUs: https://huggingface.co/mosaicml/mpt-7b-storywriter

godot-llm-poc's People

Contributors

opyate avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.