AI Assistant
AI Assistant is a placeholder that asks the configured AI model to generate a content based on your instructions and optional input.
Requirements
This feature requires an active internet connection (unless you are using a
local model via Ollama) to work and configured AI in App Settings -> AI
.
Parameters
1️⃣ Input mode (default: Selection
)
You can use an optional input passed to the AI model. This parameter defines where the input comes from:
- Selection: Selected text
- Clipboard: Current Clipboard content
- TextField: Manual text input
- None: No input required
2️⃣ AI Instructions
Instructions for the AI model.
Syntax
{@ai|Selection|Translate text to English@}
Notes
The prompt is created using the following template:
Input: {input}
Instructions: {instructions}
Therefore, if you want to refer to the input in the instructions, you can use
input
keyword. Usually, you don't need to use the input
keyword, as the AI
model will figure that instructions are related to the input.
Use Cases
The number of use cases is unlimited. You can use AI Assistant to generate any text based on your instructions. It can generate, transform, or improve text.
Some ideas:
- Fix typos
- Fix punctuation
- Reply this email
- Convert text to HTML
- Translate to English
- Make it sound more formal
- Convert Swift code to Kotlin
- Extract code to function
- Write a short summary
- Split each sentence into a new line
- Replace numbers with text
- Insert emoji into text
- Generate a random English name