Skip to content

Prompts

The true power of AI Source lies in its customizable prompts that direct how the AI interacts with your selected text. Think of prompts as instructions that tell the AI exactly what you want it to do with the content you've highlighted.

How Prompts Work

Prompts in Definer are incredibly versatile because they support Liquid syntax, allowing you to create dynamic instructions that adapt to your specific context.

For example, you can:

  • Ask the AI to explain a word within the context of your current sentence
  • Generate summaries of selected paragraphs
  • Translate text while preserving formatting
  • Analyze the tone or style of writing

ai-prompts.avif

Basic and Advanced Usage

Despite their powerful capabilities, prompts are straightforward to set up:

  1. Create a new prompt with a descriptive name
  2. Write your instructions using simple {{variable}} placeholders
  3. Switch between different prompts as needed for various tasks

Advanced users can leverage the full potential of Liquid syntax to create sophisticated prompts that handle complex scenarios.

For instance, you could create conditional expressions that:

  • Modify the prompt based on the number of characters or words in selected text
  • Change behavior when specific keywords appear
  • Adjust responses based on added languages in the settings or the currently selected language in language picker
  • Even vary output depending on the time of day (for the night owls who might appreciate a gentler tone at 3 AM!)

Finding Variables and Filters

All variables and filters (functions that modify output) are searchable directly in the interface, making it easy to discover the tools you need for your specific use case.

The built-in Playground feature lets you preview rendered prompts and test variable values in real-time, so you can perfect your prompts before using them.

ai-liquid.avif

Default Prompts

Definer comes with a set of pre-defined prompts when you first install it. However, additional AI sources you add later won't automatically include these defaults.

If you've removed the default AI source or want to restore the original prompts, you can add them manually using the templates cataloged in this Wiki:

You can also visit r/lumetrium_definer to find more prompts shared by the community or contribute your own creative solutions.