| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 517 |
| Technical Name |
ai_base |
| License | LGPL-3 |
| Versions | 17.0 18.0 19.0 |
Shared AI Provider Layer for OPMO Modules
AI Base is a free technical dependency module that powers all OPMO AI plugins for Odoo. It provides a unified BYOK (Bring Your Own Key) configuration UI and a single LLM abstraction layer supporting OpenRouter, OpenAI, Anthropic, and Google AI.
What This Module Provides
⚙ Settings UI
Adds an OPMO Configuration section to Settings → General Settings. Choose your AI provider and enter your API key in one central place — all OPMO modules share this configuration.
🌐 Multi-Provider Abstraction
A single ai.provider model exposes a chat_completion() method that routes
calls to the configured provider. OPMO modules call this — not provider APIs directly — ensuring
consistent error handling and easy provider switching.
🔐 Supported Providers
- OpenRouter — access 100+ models via one API key
- OpenAI — GPT-4o, GPT-4o mini
- Anthropic — Claude Sonnet, Haiku
- Google AI — Gemini Flash, Pro
🔒 No Vendor Lock-In
Your API keys are stored in Odoo’s standard system parameters. No data is sent to OPMO servers. You own your data and can switch providers at any time from the Settings UI.
Installation
You do not need to install this module manually. It is installed automatically when you install any OPMO AI module (such as the AI CRM Email Generator).
If you do install it directly, go to Settings → General Settings → OPMO Configuration to configure your AI provider and API key before using any OPMO AI modules.
Compatibility
- Odoo 18.0 Community and Enterprise
- Depends only on
base_setup(always available) - Free — no purchase required
Please log in to comment on this module