Smarter NPC (non-player character)
Given a user input, typeform/distilbert-base-uncased-mnli (Zero-Shot classification model) is used to find the closest action from the available set of actions ("dance","text","fight","run")
This WebGL demo demonstrates how you can create smart NPC easily by using 🤗 Inference API.
Find the source code in Files and Versions of this Space.
Find the PlayCanvas project here