| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 962 |
| Technical Name |
eb_ai_base |
| License | OPL-1 |
| Website | https://www.echobitzit.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 962 |
| Technical Name |
eb_ai_base |
| License | OPL-1 |
| Website | https://www.echobitzit.com |
| Versions | 18.0 19.0 |
Universal AI
Foundation for Odoo
Configure LLM providers once, use everywhere. eb_ai_base is the shared backbone for AI-powered Odoo modules - credentials, model registry, prompt templates, streaming, and token logging with strict server-side security.
How EB AI Base Works
One configuration layer. Every AI module in your Odoo stack calls the same provider service - no duplicate keys, no re-implemented HTTP clients.
Configure Provider
Create one AI provider record with API key, endpoint, temperature, models, and system prompt.
Test Connection
Click Test Connection to verify credentials. Azure classic and Foundry v1 endpoints are both supported with clear error messages.
Call from Any Module
Consuming modules use the shared AI service layer while keys remain protected on the server.
8 Built-in LLM Providers
Switch providers per company. Set one as default. Each ships with a dedicated service class and connection test.
Why EB AI Base?
Everything your AI modules need - provider config, model registry, prompts, streaming, logging, and security - in one lightweight library.
Centralized Credentials
API keys and endpoints stored server-side on provider records. Never exposed to OWL, JS, or RPC responses.
One-Click Connection Test
Validate API keys from the provider form. Azure endpoints use deployment-aware checks with actionable error messages.
LLM Model Registry
Register multiple models per provider with codes, display names, context windows, and a default model flag.
Prompt Templates
Reusable system-prompt snippets for any provider. Apply prepared instructions with one click.
Streaming Support
OpenAI-compatible providers support live response streaming with automatic fallback to standard calls.
Token Usage Log
Append-only usage records per LLM call with prompt tokens, completion tokens, user, company, and model.
Multi-Company
Separate provider records per company with record rules. One default provider per company enforced by constraint.
Tunable Parameters
Temperature, max output tokens, context window, LLM timeout, and custom system prompt per provider.
Tool Call Hook
Consuming modules can provide tool definitions for guided function-calling workflows.
Security Groups
Dedicated user and manager groups control AI usage, provider configuration, and log visibility.
Extensible Architecture
Add new providers through the shared provider architecture without changing consuming modules.
Chat Mixin
Reusable chat foundation for models that need threaded AI conversation support out of the box.
Core Data Models
Four focused models - no bloat, no budget engine, no onboarding wizard.
AI Provider
Type, API key, base URL, Azure fields, temperature, tokens, system prompt, default flag.
LLM Model
Model code, display name, context window, and default selection per provider.
Prompt Template
Reusable system-prompt library with shared or company-private snippets.
Token Log
Append-only usage records for prompt tokens, completion tokens, user, company, and model.
Built for Reusable AI Modules
Any Odoo module that depends on EB AI Base can use the same secure provider layer without duplicating configuration, credentials, or usage tracking.
Works with Prime Dashboard
eb_dashboard_prime is the flagship consumer — AI dashboard architect, chart insights, dashboard chat, chart recommendations, and executive PDF reports all route through EB AI Base providers.
Ready to add AI to your Odoo modules?
Install EB AI Base alongside Prime Dashboard or your own custom module. Configure once — deploy AI everywhere.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module