Example prompts for your assistant
A connected assistant understands plain language. Name the stack or site, and say what the result should be. These instructions work with the recommended scopes.
Overview and status
Section titled “Overview and status”- “Give me an overview of my server: which applications are running, are there alerts, when was the last backup?”
- “Which stacks have been changed but not deployed yet?”
- “What happened on the server in the last 24 hours?”
Logs and problems
Section titled “Logs and problems”- “Show the last 100 log lines of the web container of stack shop and summarise the errors.”
- “Stack shop is stopped. Find out why and propose a fix, but do not execute anything yet.”
- “Restart the container shop-web-1.”
Settings and deploys
Section titled “Settings and deploys”- “Raise the PHP memory limit of stack shop to 512M, validate, save and deploy. Wait for the job and tell me whether it succeeded.”
- “Add the domain name shop.example.com to stack shop next to www.example.com and deploy.”
- “Switch the nightly update of stack intranet off.”
- “Redeploy stack portal with the newest images.”
Rolling back
Section titled “Rolling back”- “The last deploy of stack shop failed. Restore the previous revision and deploy it.”
- “Show what changed in revision 12 of stack shop compared to revision 11.”
Websites
Section titled “Websites”- “In site www, set the opening hours in contact.html to 9 to 17 and publish the draft.”
- “Make a simple landing page for this month’s promotion (index.html plus a stylesheet) and put it live on site promo.”
- “Upload the dist folder as the new content of site www and tell me which previous version you can restore.”
- “Restore site www to yesterday’s version.”
Backups and alerts
Section titled “Backups and alerts”- “Run a backup of the database of stack shop now and tell me how big the file is.”
- “Which backups failed in the past week?”
- “Which alerts are open and what should I do?”
Access
Section titled “Access”- “Add the office network 203.0.113.0/24 to the access list of stack intranet.”
- “Who can open stack vault right now?”
Source code
Section titled “Source code”- “Which commit of stack portal is running now, and is there a newer one on the branch?”
- “Upload the build folder as the new source of stack portal and build it.”