Skip to main content

Inline AI Module

The Inline AI Module is a powerful addition to OnText that brings artificial intelligence directly into your daily workflow. It allows you to transform, summarize, and generate text without leaving your current application.

Core Features

🚀 Smart Text Actions

Directly interact with AI using two primary shortcuts when the Inline AI panel is visible:

  • Replace (⌘R): Instantly replaces the selected text in your current application with the AI's response.
  • Smart Copy (⌘C): Copies the intelligence to your clipboard. If you have text selected, it copies the selection; otherwise, it copies the entire AI response.

🤖 Supported Providers

  • ChatGPT (OpenAI)
  • Gemini (Google)
  • Claude (Anthropic)
  • Ollama (Local AI)

How to Use

OnText is designed to process requests in-place without context switching, allowing you to see results and take action immediately within your current workflow.

  1. Trigger: Select text and press your global shortcut (Default: F2).
  2. Toggle Module: Click the "Inline AI" icon in the panel.
  3. Interact: Type your request (e.g., "Summarize", "Make it professional") and press Enter.
  4. Action: Use ⌘R to replace or ⌘C to copy the results.
Smart Text Handling

You don't need to specify where the selected text goes. OnText automatically appends your selected text to the end of your prompt. However, you can still use the {text} placeholder anywhere in your prompt if you need precise placement.

Prompt Presets

Speed up your workflow using Prompt Presets. You can save frequently used prompts and trigger them with a single click or a shortcut.

Managing Presets

  • Open OnText Preferences -> Inline AI tab.
  • Click + to add a new preset or - to remove one.
  • Save: Editing a title or prompt requires ⌘ + Enter to save.
  • Generate Title ✨: Use AI to automatically create a concise title for your prompt.

Settings & Privacy

  • Safe Storage: Your API keys are stored locally on your device, never on our servers.
  • Advanced Settings: Fine-tune Temperature, Max Tokens, and System Prompts per request.
  • Require ESC to close: Prevents the panel from closing on accidental outside clicks.
Privacy First

If you're concerned about data privacy, we highly recommend using Ollama. Since it runs entirely on your local machine, your data never leaves your device.