LiveWhale 3.0 includes new generative AI features leveraging the ChatGPT API to get title/summary suggestions for events and news stories. Here’s how it works…
Using AI suggestions in LiveWhale
When creating or editing an event or news story in LiveWhale, you’ll see the new editor panel.
If you click “Sure” on the welcome message, a panel will open inviting you to type or paste some description of your event or story. This can be informal or marketing language, either works.
The “Get suggestions” button will send your information to our API server, which relays it to OpenAI and comes back with suggestions for you:
You can click to use or copy any of the suggested values, or minimize the panel and continue editing on your own.
Minimizing the AI suggestions panel
At any time, you can click the “Get content suggestions with AI” header (or “No thanks” on the initial welcome message) to minimize the AI suggestion panel. This will be remembered on your LiveWhale user account, so it will remain minimized for future editing sessions.
When the panel is minimized, you can click the “Get content suggestions with AI” header again to re-open it. If you do this, the panel will be open for future editing sessions.
Configuring LiveWhale AI
Behind the scenes, your requests get sent to Open AI’s gpt-4o-mini model with the following default prompt:
“You are a marketing tool that suggests engaging yet professional content for a higher-education event calendar. You will be provided with text delimited by triple quotes that describes [a news story / an event]. From that text, generate three possible titles and three corresponding 2-sentence summaries. The titles should be concise yet compelling, while the summaries should be engaging, curiosity-driven, and professional. The content should appeal to a diverse audience, including professors, current students, and prospective students (such as high schoolers).”
You can customize the prompt to meet your house style or tone by adding these variables to your livewhale/client/global.config.php:
$_LW->REGISTERED_MODULES['ai']['custom']['ai_system']='a marketing tool that suggests engaging yet professional content for a higher-education event calendar'; // customize the system descriptor for generative AI suggestions
$_LW->REGISTERED_MODULES['ai']['custom']['ai_tone']='The titles should be concise yet compelling, while the summaries should be engaging, curiosity-driven, and professional. The content should appeal to a diverse audience, including professors, current students, and prospective students (such as high schoolers).'; // customize the tone description for generative AI suggestions
Those will be included in the prompt as
“You are {AI_SYSTEM}. You will be provided with text delimited by triple quotes that describes [a news story / an event]. From that text, generate three possible titles and three corresponding 2-sentence summaries. {AI_TONE}”
AI usage and terms
As you likely have experienced, generative AI can be unpredictable. If you receive a strange or inappropriate response when asking for AI suggestions, please feel free to report it to us and we can check the logs to see if we may be able to identify or correct the behavior.
We don’t currently enforce a usage limit on LiveWhale AI suggestions, but reserve the right to cap per-school usage in the future. If we do, we will announce those changes and also give you the opportunity to bypass usage limits by providing your own OpenAI API key.
Note, the configurable system prompt (see above) and user-provided description are all that we send to the gpt-4o-mini API. No other user or event data is shared, and we’re not sharing or training anything on your calendar data. OpenAI’s policy also states, “We do not train our models on inputs and outputs through our API.”
Using your own OpenAI API key
If you’d prefer to use your own OpenAI API key for LiveWhale, you can add it to your livewhale/core/config.php file using the following code:
$GLOBALS['LIVEWHALE_CONFIG']['CREDENTIALS']['OPENAI']['API_KEY']=''; // OpenAI API key
Disabling LiveWhale AI
To disable LiveWhale AI features site-wide, add the following to your livewhale/client/global.config.php:
$_LW->CONFIG['DISABLE_AI_SUGGESTIONS']=true; // disable AI suggestions site-wide
LiveWhale Support