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
- Select a clip (text or code)
- Open AI actions (right-click or detail panel)
- Choose an action (Summarize, Translate, etc.)
- AI processes the content
- View result in dialog
- 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
- Go to Settings → AI
- Select your provider
- Enter API key
- Choose model (or enter custom name)
- 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
- Be specific in prompts — Include desired format, length, style
- Use code blocks — For code explanation, specify the language
- Set temperature — Lower for factual, higher for creative
- Chunk large content — Very long clips may exceed token limits
- 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