Open WebUI
Configure Open WebUI (formerly Ollama WebUI) to use Eden AI for accessing 200+ AI models through a sleek interface.Overview
Open WebUI is a self-hosted, feature-rich web interface for AI models. By connecting it to Eden AI, you get:- 200+ models: Access OpenAI, Anthropic, Google, Cohere, and more
- Modern UI: Beautiful, responsive interface similar to ChatGPT
- RAG support: Document upload and retrieval-augmented generation
- Multi-user: User management with authentication
- Self-hosted: Complete data privacy and control
Prerequisites
- Docker installed
- Eden AI API key from https://app.edenai.run
- 2GB+ RAM recommended
Quick Start
Option 1: Docker (Recommended)
Run Open WebUI with a single command: Access Open WebUI athttp://localhost:3000
Option 2: Docker Compose
Create adocker-compose.yml file:
Configuration
Initial Setup
- Open browser: Navigate to
http://localhost:3000 - Create admin account: Register the first user (becomes admin)
- Configure models: Go to Settings → Models
Add Eden AI Models
In the Open WebUI interface:- Click Settings (gear icon)
- Go to Models tab
- Add models in the format
provider/model:
Environment Variables
Configure Open WebUI with environment variables:Features
Chat with Multiple Models
- Select model: Click the model dropdown at the top
- Start chatting: Type your message
- Switch models: Change models mid-conversation
- Compare responses: Use split-screen to compare model outputs
Document Upload (RAG)
Upload documents for context-aware conversations: Usage:- Click the + icon in chat
- Upload PDF, DOCX, TXT, or other documents
- Ask questions about the uploaded content
- The AI retrieves relevant sections automatically
Image Generation
Generate images using DALL-E or other providers: Usage: Type/imagine followed by your prompt in the chat.
Web Search
Enable web search for up-to-date information:Voice Input
Enable voice-to-text:Advanced Configuration
Multiple API Endpoints
Configure multiple providers:Custom Model Metadata
Define model capabilities and pricing:User Permissions
Configure role-based access:Persistent Storage
Configure data persistence:Security
Authentication
Enable and configure authentication:HTTPS Setup
Use a reverse proxy for HTTPS:Rate Limiting
Protect your API key:Production Deployment
Full Production Stack
Backup Strategy
Backup your data regularly:Troubleshooting
Models Not Appearing
If models don’t show up:-
Check API key:
-
Verify base URL:
-
Test endpoint manually:
-
Restart container:
Authentication Issues
If you can’t log in:-
Reset admin password:
-
Check secret key:
Performance Issues
If the UI is slow:-
Check resource usage:
-
Increase memory:
-
Optimize database:
RAG Not Working
If document upload fails:-
Check volume mounts:
-
Verify embedding model:
-
Check logs:
Cost Optimization
1. Use Appropriate Models
Configure cheaper models for embeddings:2. Limit Token Usage
Set maximum tokens:3. Monitor Usage
Track costs in Eden AI dashboard:- Visit https://app.edenai.run
- View usage reports
- Set billing alerts
Example Workflows
1. Customer Support Bot
- Upload support docs using RAG
- Create templates for common queries
- Use Claude Haiku for cost-effective responses
2. Code Assistant
- Use GPT-4 or Claude for complex code
- Enable file upload for code review
- Configure presets for different languages
3. Research Assistant
- Enable web search for current information
- Use Gemini Pro for long context
- RAG for internal documents
Next Steps
- LibreChat - Alternative chat platform
- Continue.dev - IDE integration
- API Reference - Complete API documentation
- Cost Management - Monitor spending