AI Prompter

AI Prompter

Overview


The AI Prompter is a plugin allowing to create and execute AI prompts dynamically based on HostBill data.

Activating the module


  1. If the plugin is included in your HostBill edition you can download it from your client portal.

  2. If the plugin is not included in your HostBill edition you can purchase it from our marketplace and then download it from the client area.

  3. Once you download the plugin extract it in the main HostBill directory.

  4. Go to Settings → Modules→ Plugins → AI modules → Inactive, find and activate ai_prompter plugin.

  5. Once the plugin is activated you will be directed to Settings→ Modules→ Plugins to configure the module.

Module configuration


Once you activate the module you will be redirected to module configuration page. To configure the activated module you can also go to Settings → Apps → Add New App.

Fill in the configuration fields:

  1. Name

  2. Additional prompt - Additional system prompt sent with every AI/LLM request for every prompt

  3. Limit to departments - Comma separated list of department IDs to limit prompts to. Leave empty to show all prompts

  4. Enable streaming response - Once enabled the response will be streamed to the browser. Do not enable without additional server-side(nginx) configuration

You can use dedicated button to Instal sample prompts.

How the module works


Once the module is activated, it can be found at Support → AI Prompter.

Here you can find a list of the prompts and create a new ones.

Create a new prompt

To create a new prompt enter:

  • Name - prompt name will be rendered in a button triggering it

  • Description - admin-only description explaining prompt general purpose

  • AI Connection - pick AI Connection to be used with this prompt 

  • Departments - if purpose is related to tickets, select department this prompt should be limited to. Leave blank to apply to all departments (current and future).

  • Purpose - where this prompt should render:

    • Tickets main body

    • Admin reply buttons, use reply draft as prompt

    • Reply actions buttons, use reply message as prompt

  • Visibility - will this prompt be available to all administrators

  • System Message to LLM/AI - Enter system prompt to AI. Smarty variables can be used here.

  • Prompt - Enter prompt to AI. If left empty you will be asked to provide it when attempting to use prompt in ticket details. Smarty variables can be used here.

Sample prompt list:

Sample prompt:

Once the prompts are created, they can be used in HostBill Ticketing System. Each staff member needs to add prompts to their list in the 'My Prompts' tab to be able to use them: