| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Community Apps Dependencies | Show |
| Lines of code | 1651 |
| Technical Name |
mg_openai_integration |
| License | OPL-1 |
OpenAI Integration
Connect Odoo to OpenAI through a reusable provider module.
This module adds OpenAI-specific settings, model synchronization, usage tools, and provider execution on top of AI Base. It is designed to power automations, AI helpers, and custom workflows inside Odoo.
Main Features
- API Settings: Configure OpenAI API keys and connection options from Odoo Settings.
- Model Sync: Fetch OpenAI models and create shared AI model records automatically.
- Rate Limit Tools: Inspect OpenAI model limits in a dedicated modal wizard.
- Usage and Costs: Review usage and cost summaries for routed OpenAI models.
- Text and Image Execution: Supports text analysis and image generation through AI Helper automations.
- Provider Backend: Works as the OpenAI execution layer for the generic AI Base module.
Typical Workflow
1. Open OpenAI Settings
Go to the OpenAI Integration settings page. Configure API keys. Fetch models using button and configure AI Routing table.
2. AI Helper Configuration
Go to the AI Helper settings page using "AI Helpers" menu above odoos "Automation Rules".
3. Create and Configure AI Helpers
Name AI helper, choose odoo model, set target field (Where ai writes response), choose AI type, set source fields (For context to AI).
4. Set prompt for AI
Here you can enter your own prompt for ai which will use chosen source fields as context for AI.
5. Example of product creation and image generation
After configurations above, when product is created AI will generate product image and attach it to this product, also in chatter attachments.
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