Provider Overview
Chrome AI
Free, local, and privateUses Google’s Gemini Nano running entirely on your device. No API keys required.
OpenAI
Powerful cloud modelsAccess GPT-4, GPT-4 Turbo, and other OpenAI models via API.
Ollama
Self-hosted flexibilityRun local LLMs (Llama 2, Mistral, etc.) on your own machine.
Chrome AI (Default)
Requirements
Chrome AI uses Google’s on-device Gemini Nano model. Configuration is done viachrome://flags:
Required Flags
1
Enable Optimization Guide
Navigate to:Set to: “Enabled BypassPerfRequirement”This enables the on-device AI model to run without hardware restrictions.
2
Enable Prompt API
Navigate to:Set to: “Enabled”Activates the Language Model API for text generation.
3
Enable Multimodal Input
Navigate to:Set to: “Enabled”Required for audio/image support in Chrome AI.
4
Restart Chrome
After enabling all flags, restart Chrome for changes to take effect.
Configuration
string
default:"chrome-ai"
Set provider to
chrome-ai in AI Config settings.number
default:"1.0"
Controls response randomness and creativity.
- Range: 0.0 - 2.0
- Low (0.0-0.7): More focused and deterministic
- Medium (0.8-1.2): Balanced creativity
- High (1.3-2.0): More random and creative
number
default:"3"
Number of top token candidates considered for each generation step.
- Range: 1 - 128
- Lower: More focused responses
- Higher: More diverse vocabulary
string
default:"en"
Preferred output language for responses.Supported languages:
en- Englishes- Spanishja- Japanese
boolean
default:"true"
Enable multimodal image analysis capabilities.Requires the Multimodal Input flag enabled.
boolean
default:"true"
Enable multimodal audio transcription.Requires the Multimodal Input flag enabled.
System Prompts
Customize the assistant’s personality and behavior:Available Personalities
Available Personalities
string
default:"default"
Select a pre-configured personality:
default: Helpful and concise assistantprofessional: Formal, well-structured responsesfriendly: Warm and conversationaltechnical: Expert technical guidancecreative: Imaginative and expressiveconcise: Brief, to-the-point answersteacher: Educational explanationscustom: Use your own custom prompt
string
default:""
Custom system prompt (only used when
systemPromptType is custom).Example:OpenAI
API Key Setup
1
Get API Key
- Sign up at platform.openai.com
- Navigate to API Keys section
- Click “Create new secret key”
- Copy the key (starts with
sk-)
2
Configure VAssist
- Open AI Config settings
- Select OpenAI as provider
- Paste your API key
- Choose a model
Configuration
string
Set to
openai to use OpenAI models.string
required
Your OpenAI API key.
string
default:"gpt-4-turbo-preview"
OpenAI model to use for chat completions.Recommended models:
gpt-4-turbo-preview- Latest GPT-4 Turbo (best quality)gpt-4- Standard GPT-4gpt-3.5-turbo- Faster, more economicalgpt-3.5-turbo-16k- Extended context window
number
default:"0.7"
Response creativity (0.0 - 2.0).
- 0.0-0.3: Focused, deterministic
- 0.4-0.7: Balanced (recommended)
- 0.8-1.0: Creative
- 1.1-2.0: Very creative/random
number
default:"2000"
Maximum tokens in the response.
- Higher values allow longer responses
- Affects API costs
- Typical range: 500-4000
boolean
default:"true"
Enable GPT-4 Vision for image analysis.Requires
gpt-4-vision-preview or similar vision-capable model.boolean
default:"true"
Enable audio transcription via Whisper API.
System Prompts
string
default:"default"
Choose from the same personality options as Chrome AI (default, professional, friendly, etc.).
string
default:""
Custom system prompt when
systemPromptType is custom.Ollama (Local)
Setup
1
Install Ollama
Download and install from ollama.aiSupported platforms: macOS, Linux, Windows
2
Pull a Model
Open terminal and download a model:
3
Start Ollama Server
Ollama runs automatically after installation. Verify it’s running:
4
Configure VAssist
- Open AI Config
- Select Ollama as provider
- Set endpoint to
http://localhost:11434 - Enter the model name (e.g.,
llama2)
Configuration
string
Set to
ollama for local Ollama models.string
default:"http://localhost:11434"
Ollama API endpoint.
- Default:
http://localhost:11434 - Custom: If running on different port/host
string
default:"llama2"
required
Model name to use.Popular models:
llama2- Meta’s Llama 2mistral- Mistral 7Bcodellama- Code-specialized Llamamixtral- Mixtral 8x7B (larger, more capable)phi- Microsoft Phi-2
ollama list to see installed models.number
default:"0.7"
Response creativity (0.0 - 2.0).
number
default:"2000"
Maximum tokens in response.
boolean
default:"true"
Enable image analysis (requires vision-capable model like
llava).boolean
default:"true"
Enable audio transcription (experimental).
System Prompts
string
default:"default"
Personality selection (same options as Chrome AI and OpenAI).
string
default:""
Custom system prompt for
custom personality type.Provider Comparison
Troubleshooting
Chrome AI not available
Chrome AI not available
Check:
- Chrome version 138 or higher
- All three flags enabled in
chrome://flags - Chrome restarted after enabling flags
- Model downloaded (check
chrome://components)
OpenAI API errors
OpenAI API errors
Common issues:
- Invalid API key: Double-check key in settings
- Rate limit: Reduce request frequency or upgrade plan
- Model not found: Verify model name spelling
- Insufficient quota: Add credits to OpenAI account
Ollama connection failed
Ollama connection failed
Verify:
- Ollama is running:
ollama list - Endpoint is correct:
http://localhost:11434 - Model exists:
ollama listshows your model - No firewall blocking port 11434