AI Assistant Service
The aiassistant active variable service gives your scripts access to the Fusion AI assistants, built-in and custom. It uses the AI Assistant REST service, so the same rules and permissions apply.
Items whose id starts with # are read from public, any other id from private.
Using the service
// Read an item
item = ${aiassistant:"EPR"}
// Find items
items = find ${aiassistant}
publicItems = find ${aiassistant:public}
// Save an item
save ${aiassistant:item}
// Delete an item, or roll back to its previous version
delete ${aiassistant:"EPR"}
See AI Assistant for the variable this service holds.