LLM Property

Description The LLM Property node serves as a data injection mechanism for Large Language Models (LLMs). It acts as part of the "global consciousness" for the AI, similar to an LLM Tool, allowing the model to have real-time awareness of the game state without requiring a direct wire connection to the LLM node itself. By using this node, the LLM can function as a fully realized NPC that knows exactly what is happening in the room - such as whether a door is locked, the current pressure in a pipe, or how many puzzles the players have solved.
The description property should be authored to explain the context to the AI, using the %s placeholder to represent the injected value.
Tip: If you need to format numbers (e.g., limiting decimal places), it is recommended to use an external formatting node like float2str before sending the data to the
valueinput.
Use Cases * Context-Aware NPCs: Provide the AI with the current status of physical props so it can comment on player progress (e.g., "I see you finally managed to open that chest!"). * Dynamic Hinting: Inject a "Puzzles Solved" counter so the LLM knows if players are moving too slowly and offers more direct assistance. * Environmental Narrative: Pass sensor data (like room temperature or "light levels") so the AI character can react to the physical atmosphere of the escape room. * Time awareness: For instance, you can inject data from the GameTime node, which provides the current game progression percentage. This allows the AI to know exactly how much time is remaining—either as a percentage or in total minutes - enabling it to create a sense of urgency or offer more help as the clock runs down.
Connectors in
- value [type: variant]: The live data from the game to be sent to the LLM.
- enabled [type: bool]: Activates or deactivates this specific property from being included in the LLM's context.
Node properties
- description [type: string]: The text describing the data to the AI. Use the format: "Current door status is %s" where
%sis replaced by the input value. - enabled [type: bool]: Sets the default active state of the property.
- name [type: string]: A unique identifier for the you. Not sended to LLM. Use descriptipon, to name property for LLM.
Connectors in
- value [type: variant]
- enabled [type: bool]
Node properties
- description [type: string]
- enabled [type: bool]
- name [type: string]