Setting Up AI Providers
FloWords supports multiple AI providers for text enhancement. Choose based on your privacy needs, budget, and desired features.
Provider Comparison
Section titled “Provider Comparison”| Provider | Privacy | Cost | Speed | Quality |
|---|---|---|---|---|
| Ollama | Local/Best | Free | Variable | Good-Excellent |
| OpenAI | Cloud | $$$ | Fast | Excellent |
| Anthropic | Cloud | $$$ | Fast | Excellent |
OpenAI Setup
Section titled “OpenAI Setup”OpenAI’s GPT models offer reliable, high-quality enhancement.
Available Models
Section titled “Available Models”| Model | Speed | Quality | Cost |
|---|---|---|---|
| GPT-4o | Fast | Best | $$$ |
| GPT-4o-mini | Fastest | Great | $ |
| GPT-4 | Medium | Excellent | $$$$ |
| GPT-3.5-turbo | Fast | Good | $ |
Configuration Steps
Section titled “Configuration Steps”-
Get API Key
- Go to platform.openai.com
- Sign in or create account
- Navigate to API Keys
- Create new secret key
- Copy the key (shown only once)
-
Configure FloWords
- Open Settings > Enhancement
- Enable AI Enhancement
- Select OpenAI as provider
- Paste your API key
- Select your preferred model
-
Test Connection
- Click Test button
- Should show “Connection successful”
- Make a test recording
Cost Management
Section titled “Cost Management”OpenAI charges per token (roughly per word):
| Model | Input Cost | Output Cost |
|---|---|---|
| GPT-4o-mini | $0.15/1M | $0.60/1M |
| GPT-4o | $2.50/1M | $10.00/1M |
| GPT-4 | $30.00/1M | $60.00/1M |
Anthropic Setup
Section titled “Anthropic Setup”Anthropic’s Claude models excel at nuanced, safe text processing.
Available Models
Section titled “Available Models”| Model | Speed | Quality | Cost |
|---|---|---|---|
| Claude 3.5 Sonnet | Fast | Excellent | $$ |
| Claude 3 Opus | Medium | Best | $$$$ |
| Claude 3 Haiku | Fastest | Good | $ |
Configuration Steps
Section titled “Configuration Steps”-
Get API Key
- Go to console.anthropic.com
- Sign in or create account
- Navigate to API Keys
- Create new key
- Copy the key
-
Configure FloWords
- Open Settings > Enhancement
- Enable AI Enhancement
- Select Anthropic as provider
- Paste your API key
- Select your preferred model
-
Test Connection
- Click Test button
- Verify successful connection
- Make a test recording
Why Choose Anthropic
Section titled “Why Choose Anthropic”- Excellent at following instructions
- Strong safety and content filtering
- Great for professional content
- Nuanced writing capabilities
Ollama Setup (Local AI)
Section titled “Ollama Setup (Local AI)”Ollama runs AI models locally on your Mac. Maximum privacy, no API costs.
Requirements
Section titled “Requirements”- macOS 14.0 (Sonoma) or later
- Apple Silicon recommended (M1/M2/M3)
- 8GB+ RAM (16GB+ for larger models)
- ~4-10GB disk space per model
Installation Steps
Section titled “Installation Steps”-
Install Ollama
- Go to ollama.com
- Download for macOS
- Run the installer
- Ollama runs in your menu bar
-
Download a Model
Open Terminal and run:
Terminal window # Recommended for most usersollama pull llama3.2# Alternative optionsollama pull mistralollama pull phi3ollama pull gemma2 -
Configure FloWords
- Open Settings > Enhancement
- Enable AI Enhancement
- Select Ollama as provider
- Select your downloaded model
- Test the connection
-
Verify Setup
- Ollama should be running (check menu bar)
- Make a test recording
- Check enhancement works
Recommended Local Models
Section titled “Recommended Local Models”| Model | Size | RAM Needed | Quality | Speed |
|---|---|---|---|---|
| Llama 3.2 3B | 2 GB | 4 GB | Good | Fast |
| Llama 3.2 8B | 4.7 GB | 8 GB | Great | Medium |
| Mistral 7B | 4.1 GB | 8 GB | Great | Medium |
| Phi-3 mini | 2.3 GB | 4 GB | Good | Fast |
| Gemma 2 9B | 5.4 GB | 10 GB | Excellent | Slower |
Ollama Commands
Section titled “Ollama Commands”Common commands in Terminal:
ollama list
ollama pull llama3.2
ollama rm model-name
ollama serve
ollama run llama3.2 "Hello, test"Provider Switching
Section titled “Provider Switching”You can easily switch between providers:
- Go to Settings > Enhancement
- Select different provider
- Enter credentials if needed
- Save settings
Your API keys are stored securely and you can switch anytime.
Troubleshooting
Section titled “Troubleshooting”OpenAI Issues
Section titled “OpenAI Issues”“Invalid API Key”
- Check for typos in the key
- Ensure key hasn’t been revoked
- Generate a new key if needed
“Rate Limit Exceeded”
- Wait a few minutes
- Check your OpenAI usage limits
- Consider upgrading your plan
“Insufficient Credits”
- Add credits at platform.openai.com
- Set up billing
Anthropic Issues
Section titled “Anthropic Issues”“Authentication Failed”
- Verify API key is correct
- Check account status
- Regenerate key if needed
“Context Too Long”
- Use shorter recordings
- Select a model with larger context
Ollama Issues
Section titled “Ollama Issues”“Connection Refused”
- Ensure Ollama is running
- Check for Ollama in menu bar
- Restart Ollama:
killall ollama && ollama serve
“Model Not Found”
- Run
ollama pull model-name - Check model name spelling
- Run
ollama listto see installed models
“Out of Memory”
- Use a smaller model
- Close other applications
- Check Activity Monitor
Security Best Practices
Section titled “Security Best Practices”API Keys
Section titled “API Keys”- Never share your API keys
- Don’t commit keys to version control
- Rotate keys periodically
- Use separate keys for different apps
Data Privacy
Section titled “Data Privacy”- Cloud providers process your text on their servers
- Review provider privacy policies
- Use Ollama for sensitive content
- Consider what data you’re enhancing
Cost Protection
Section titled “Cost Protection”- Set spending limits in provider dashboards
- Monitor usage regularly
- Use cost-effective models for routine tasks
- Reserve premium models for important content
Next Steps
Section titled “Next Steps”- Configure Enhancement Prompts to customize how your text is processed
- Enable Context Awareness for smarter enhancements