Skip to content
← Documentation

AI Assistant

AI Assistant

CyberPaste includes an AI assistant that can process your clipboard content with smart actions like summarizing, translating, explaining code, and fixing grammar. It works with any OpenAI-compatible API provider.


Overview

The AI assistant processes clip content through customizable prompts:

  • Right-click any clip → AI Actions → Choose action
  • Or use the detail panel AI buttons
  • Results appear in a dialog with copy option

Workflow

  1. Select a clip (text or code)
  2. Open AI actions (right-click or detail panel)
  3. Choose an action (Summarize, Translate, etc.)
  4. AI processes the content
  5. View result in dialog
  6. Copy result or replace original clip

Smart Actions

Default Actions

Action Description
Summarize Condense long text into key points
Translate Translate text to another language
Explain Code Explain what code does in plain language
Fix Grammar Correct grammar and spelling errors

Custom Actions

Create your own AI actions with:

  • Custom name (displayed in menu)
  • Custom prompt template
  • Independent provider settings

Supported Providers

Cloud Providers

Provider Description
OpenAI GPT-4, GPT-4o, GPT-3.5-turbo
DeepSeek DeepSeek chat models
Groq Fast inference with open models
OpenRouter Access to multiple model providers

Self-Hosted / Local

Provider Description
Ollama Run models locally (Llama, Mistral, etc.)
Custom Any OpenAI-compatible API endpoint

Provider Configuration

Setting Description
Provider Select from list or custom
API Key Your provider API key
Model Model name (e.g., "gpt-4o", "llama3")
Base URL Custom API endpoint URL

Configuration

Provider Settings

  1. Go to Settings → AI
  2. Select your provider
  3. Enter API key
  4. Choose model (or enter custom name)
  5. For custom providers, enter base URL

Custom Prompts

Each action uses a prompt template:

  • Default prompts are pre-configured
  • Edit prompts to customize behavior
  • Use {content} placeholder for clip content
  • Use {language} for target language (translate)

Example Custom Prompt

Summarize the following text in 3 bullet points:
{content}

AI Result Dialog

After processing, the result dialog shows:

  • Action name and provider used
  • Original content (collapsible)
  • AI-generated result
  • Copy button to copy result
  • Replace button to overwrite original clip
  • Regenerate button to retry

Tips for Better Results

  1. Be specific in prompts — Include desired format, length, style
  2. Use code blocks — For code explanation, specify the language
  3. Set temperature — Lower for factual, higher for creative
  4. Chunk large content — Very long clips may exceed token limits
  5. Use local models — Ollama for privacy-sensitive content

Privacy Note

When using AI:

  • Clip content is sent to the configured API provider
  • No data is sent anywhere else
  • For maximum privacy, use a local Ollama instance
  • API keys are stored locally only