iai variables create
Create a variable
Synopsis
Create a new variable definition in an InteractiveAI project.
Content is provided via a JSON file using the --file flag.
Run iai variables schema to see the current field definitions.
Example
{
"variables": {
"user_name": {
"description": "The user's display name",
"default_value": "Guest"
},
"is_authenticated": {
"description": "Whether the user has completed sign-in",
"default_value": false
}
}
}Each key under variables must be unique. Add as many entries as you need — the set accepts any number of variables.
Examples
Options
Options inherited from parent commands
SEE ALSO
iai variables - Contextual attributes referenced in policies and routines
Last updated
Was this helpful?

