Version 2 of Admin Companion changes to the new domain name and a new port below. IP address stays the same.
The Admin Companion client needs to be able to send POST requests to and receive answers from these two Admin Companion API endpoints:
https://api.admin-companion.ai:443/dialogue/
https://api.admin-companion.ai:443/search/
Make sure, your firewalls do not block the traffic.
Simplified network flow:
/etc/admin-companion/admin-companion.cfg
ADMIN_COMPANION_KEY=""
sudo dpkg-reconfigure admin-companion
and entering the API key on the second configuration screen.
ai Are you there?
The client software has a built-in security layer, which ensures, that only user-approved commands can be executed.
The Artificial Intelligence does never directly interact with the system. It only can communicate with the security layer of the client software . This security layer
assures the user's approval before any command execution.
You can invoke the Admin Companion client with the command: ai
Usage: ai [options] | [max request token size] [natural language request]
You only can give either an option or a natural language request, but never both at the same time.
[options]
: See Command Line Parameters below
[max request token size]
: -s <number of tokens> / --size <number of tokens>
:
[natural language request]
:
ai find and list the configuration files of the application xyz (you find the application in /usr/xyz)
ai find and list the configuration files of the application xyz \(you find the application in /usr/xyz\)
ai I'd like to create a backup script with 10 rotating files for the content of the path /mnt/data
ai I would like to create a backup script with 10 rotating files for the content of the path /mnt/data
ai I'd like to create a backup script with 10 rotating files for the content of the path /mnt/data'
ai
without any parameter
$ ai
Enter your input. End with EOF (Ctrl+D or Ctrl+Z) on a new line:
I'd like to create a backup script.
I want to backup: /mnt
Please tar zip the files
The tarball should be written to /backup
<Ctrl-D>
Samples:
ai Are you there?
ai -s 10000 Are you there?
ai -v
ai -t We analyze an issue with our web server not reacting to requests on port 443.
ai
-h or --help
-l or --list
-c or --clear-messages
-t [<topic>] / --set-topic [<topic>]
-r or --remove-topic
-v or --version
The following files are used in context of Admin Companion client:
$HOME/.admin-companion/
admin-companion.log
: Log file of the admin companion client. The file is rotated with two files at a size of about 1M each.admin-companion.bill
: This file logs for each request ths number of tokens consumed. The file is rotated with two files at a size of about 1M each.conversation_history.pickle
: This file stores the conversation history of the user in a persistent way, even over a system re-boot./etc/admin-companion/
/user/bin/
On the web console dashboard you see an overview of your balances and your usage on montly base (12 month) and daily basis (current calendar month).
On this page you can see the meta date of the latest requests, which have been made on one of your API keys (without the contents of the request).
API keys are used to authenticate the Admin Companion client's requests. Keep your API keys secret like a password!
You can create, manage and delete your API keys on the API Keys page in the web console.
You have the following options:
/etc/admin-companion/admin-companion.cfg
in the lineADMIN_COMPANION_KEY="<Your API key>"
sudo dpkg-reconfigure admin-companion
and entering the API key on the second configuration screen.The My Profile page on the web console allows you to change your Name, VAT Id and Address. You cannot change your country, company name or email address.
This page shows you your account balances. There are two balances:
Automatic Refill feature: Standard behaviour is, that in case of full consumption of all your balances, Admin Comanion client declines further requests with an
"Account limit reached" message in the log file.
If you activate the Automatic Refill feature, Admin Companion automatically charges your payment method again, when you consumed all your balances within a billing cycle. Any refills go to the non-expiring balance,
which follows the mechanisms, as described above.
Refill is always the same amount, as the monthly fee.
Don't forget to click on "Update Account Settings" after changing the auto-refill to become effective.
Transactions: On the Account page you also can see your last 30 transactions (like monthly payments, refills, payment method changes, etc.)
On the subscription page you see, which Plan you currently are subscribed to. You can activate a subscription, change to another subscription or cancel your subscription.
Change plan: When you change between the plans S, M, L, the monthly fee of the new plan is immediately charged to your stored payment method and added to the non-expiring balance (See "Acoount" for details). Your further usage then will be billed immediately at the unit price of the new plan.
Update payment method: On this page you can also update your payment method.
Cancel: Cancellation will be scheduled to the end of the billing cycle. You can continue to use Admin Companion until the end of the billing cycle.
When your refill feature is activated, your payment method will still be charged for possible refill actions.
When you cancel a subscription, all non-expiring balance will expire at the end of the billing cycle.
Within the last about one hour before the end of a billing cycle, it is not possible to perform any changes on the subscription.
Your account will still be available for at least one year, so you can decide to subscribe to a plan later again.