Skip to main content
Overview > IntentData Class: IntentData | Inherits from: ScriptableObject ScriptableObject that holds a collection of intent definitions for AI natural language understanding. Use this to configure the intents your system should recognize and respond to.

Nested Types

Properties

Methods

Reference

Intent

Represents an intent definition with its name and sample phrases.

Fields

  • intentName (string): Unique name identifier for the intent. Serialized as name in JSON.
  • intentSample (List<string>): Example phrases for this intent. Serialized as phrases in JSON.

intents (collection)

The collection of intent definitions managed by this asset.

Type

List<Intent>

CreateRuntime

Creates the runtime representation of the intent collection.

Returns

InworldVector<InworldIntent> — A vector containing runtime intents with normalized phrases.