Prefixes
To get the most out of IntelliSense when using the AI Dev Kit, the following prefixes are designed to make autocomplete clean, fast, and intuitive.
Try to remember and follow these naming conventions:
GEN
— Prefix for All Task Creators
GEN
— Prefix for All Task CreatorsThese are extension methods that can be called directly on known objects to start an AI generation task.
string
Text/Content Generation Image Generation Speech Generation (TTS) Sound FX Generation Video Generation
AudioClip
Transcript Generation (STT) Voice Change Audio Isolation
Texture2D, Sprite
Text/Content Generation (Vision) Image Edit (Inpaint) Image Variation
ChatSession
Chat
Set
— Prefix for All Configuration Options
Set
— Prefix for All Configuration OptionsUse this to configure task parameters such as model, output count, output path, and advanced options like reasoning, web search, or voice settings.
On
— Prefix for All Streaming Callbacks
On
— Prefix for All Streaming CallbacksUse these methods to attach real-time callbacks for streamed results, such as receiving text tokens, tool calls, or error handling.
Append
— Prefix for Task Sequences
Append
— Prefix for Task SequencesThese prefixes follow a consistent pattern to maximize IntelliSense usability and make task flows easy to read and construct.
Tip: Just type GEN
, Set
, or On
and let IntelliSense show you what’s possible.
Last updated