Nodes
Learn the functionality of Neocortex nodes
Nodes are the fundamental components for building Smart NPCs in Neocortex. Each node represents a distinct functionality or a specific detail that your Smart NPC can perform or possess. By connecting nodes, you create structured behaviors and define how your NPC interacts with the world and users.
Types of Nodes
Neocortex provides various node types to help you craft complex NPC behaviors. Here are the primary node types and their functionalities:
Result Node
The Result Node aggregates all the details and functionalities of your Smart NPC. It serves as the central node connecting outputs from other nodes like Agent Node, World Node, and multiple Object Nodes to produce the final NPC behavior.
Agent Node
The Agent Node stores personal details of the Smart NPC, such as the name and background. You can connect other nodes like Personality Node, Accent Node, and Voice Node to define the NPC’s personality and voice characteristics.
World Node
The World Node describes the environment or context in which the Smart NPC operates. It’s a freeform text node where you can input world details relevant to the NPC’s behavior.
Object Node
The Object Node defines objects that the NPC can interact with. Each node contains a description of the object and the associated actions the NPC can perform with it.
Action Node
The Action Node specifies actions the NPC can execute. When a user mentions an object and an action keyword, the NPC performs the action. The keyword is automatically converted into UPPERCASE_SNAKE_CASE
, e.g., jump over
becomes JUMP_OVER
.
Intent Node
The Intent Node allows you to specify sample sentences that users can say to trigger an action. This enables the NPC to understand variations in phrasing for the same intent. You can add intents by clicking the Add Intent button and entering sample sentences, and remove them with the Delete button.
Personality Node
The Personality Node assigns predefined personality traits to the NPC. You can select a personality from a dropdown menu and adjust its intensity using the Strength slider (1 to 5).
Accent Node
The Accent Node determines the NPC’s accent. Select an accent from the dropdown menu and modify its intensity using the Strength slider (1 to 5).
Voice Node
The Voice Node configures the NPC’s voice. Choose a voice type from the dropdown menu and preview it by clicking the Play button.
By combining these nodes, you can create highly customized and interactive Smart NPCs tailored to your project’s requirements.