Text Completions
Auto completion helps you finish sentences while writing in the block text editor.
What It Does
When you type in a paragraph block, Inkpilots can suggest the next part of your sentence.
- Suggestion appears as ghost text
- Accept it with the completion shortcut
- Keep writing if you do not want it
Connection Options
There are two LLM connection modes:
- Cloud
- Connects to a cloud LLM
- More expensive
- Currently not available
- Local
- Uses a local LLM through Ollama
- Free to use after setup
- Requires Ollama app and at least one local model
Install Ollama
- Go to https://ollama.com
- Download and install Ollama for your OS
- Open Ollama settings
- Enable Allow network connections
- Set allowed network origins for Inkpilots:
# macOS terminal
launchctl setenv OLLAMA_ORIGINS "https://inkpilots.com,https://www.inkpilots.com" && pkill ollama && open -a Ollama
# Linux
export OLLAMA_ORIGINS="https://inkpilots.com,https://www.inkpilots.com" && pkill ollama && ollama serve
# Windows PowerShell
$env:OLLAMA_ORIGINS="https://inkpilots.com,https://www.inkpilots.com"; taskkill /IM ollama.exe /F; ollama serve
- Pull a model, for example:
ollama pull llama3.2
Enable Local Completion in Inkpilots
- Open the block editor
- Open the completion settings
- Select Local mode
- Choose a model
Inkpilots will connect automatically when Ollama is running and network access is enabled.
Notes
- Completion is available for paragraph blocks.
- Local mode needs Ollama running in the background.
- If local connection fails, verify Ollama is open and network access is enabled.