Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 1696 |
Technical Name |
d_gemini_ai_connector |
License | OPL-1 |
Website | https://duong-odoo-apps.odoo.com |
Versions | 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 1696 |
Technical Name |
d_gemini_ai_connector |
License | OPL-1 |
Website | https://duong-odoo-apps.odoo.com |
Versions | 17.0 18.0 |
Gemini AI Connector
Integrate Google Gemini AI into your Odoo workflows! Generate content, translate messages, and enhance productivity with AI-powered assistance across your business applications.
Customizable Gemini AI Configurations
Create and configure multiple Gemini AI models for different business needs. Each configuration can be tailored for specific use cases like content creation, customer support, or technical documentation.
- Select from various Gemini models (Gemini 1.5 Pro, Gemini 2.0 Flash, etc.)
- Customize system instructions to define AI behavior
- Fine-tune parameters like temperature and token limits
- Configure safety settings to ensure appropriate content
- Link configurations to specific Odoo models for context-aware assistance

Gemini AI Everywhere You Need It
Access Gemini AI from anywhere in Odoo with our seamless integration. Generate content directly in the editor, just like with ChatGPT, but with the power of Google's Gemini models.


Gemini Free Message Translation
Translate messages in any language with a single click using Gemini AI. Break down language barriers in your communication without any additional cost.
- Automatic language detection
- High-quality translations powered by Gemini AI
- Works in chatter, inbox, and channel messages
- Toggle between original and translated text

Gemini AI-Powered Email Replies
Generate professional email responses with a single click. Save time and ensure consistent communication with AI assistance in your chatter.
- Context-aware responses based on previous messages
- Customizable tone and style
- Insert generated content directly into composer
- Works with all mail-enabled (chatter) models

Free Gemini Extension Modules
Extend Gemini AI capabilities with specialized modules for different business areas:
- Gemini AI Connector - Blog Automatically provides optimized Gemini AI configurations for blog writing, SEO content creation, and image descriptions
- Gemini AI Connector - Email Marketing Prioritizes specialized Gemini configurations for email marketing, engaging subject lines, and newsletter content
- Gemini AI Connector - Project Automatically suggests appropriate Gemini configurations for sales emails, lead responses, and product descriptions
- Gemini AI Connector - Sale Crm Provides Gemini configurations optimized for task descriptions, project documentation, and progress reports
Each extension module automatically links Gemini configurations with corresponding models, helping the system prioritize the most relevant configurations when users open the Gemini AI dialog in specific modules.
Documentation
Please go to documentation tab in the right side to see how to configure tiktok developer app and in odoo as well

Technical Requirements
- Google Gemini API key
- Python package: google-generativeai
Support
Have questions or need assistance? Contact us at duongodooapps@gmail.com.
Gemini AI Connector Usage Guide
This guide will walk you through how to use the d_gemini_ai_connector module in Odoo to leverage Google's Gemini AI for content generation, translation, and other AI-powered features.
1. Getting Started
1.1. Obtaining a Gemini API Key
To use Gemini AI in Odoo, you'll need to obtain an API key from Google:
- Visit https://aistudio.google.com/apikey
- Sign in with your Google account
- Click on "Create API key" button
- Copy your API key (keep it secure as it provides access to paid services)

1.2. Configuring Gemini in Odoo
After obtaining your API key, configure it in Odoo:
- Navigate to Gemini AI → Settings
- Enter your Gemini API key in the "API Key" field
- Click "Save" to store your configuration

2. Creating Gemini Configurations
2.1. Creating a New Configuration
Gemini configurations define how the AI behaves for different use cases:
- Navigate to Gemini AI → Gemini Configurations
- Click "Create" to add a new configuration
- Fill in the following fields:
- Name: A descriptive name (e.g., "Blog Writer", "Email Assistant")
- Model Name: Select the Gemini model to use (e.g., Gemini 1.5 Pro, Gemini 2.0 Flash)
- System Instruction: Define the AI's role and behavior
- Temperature: Controls randomness (0.0-1.0, higher = more creative)
- Top P: Controls diversity (0.0-1.0)
- Top K: Limits vocabulary options
- Max Output Tokens: Maximum response length
- Stop Sequences: Optional text that stops generation
- Is Translation: Enable for translation-specific configurations
- Description: Optional notes about this configuration's purpose

2.2. Safety Settings
Configure content filtering for each configuration:
- Go to the "Safety Settings" tab
- Add safety rules for different harm categories: - Hate Speech - Sexually Explicit - Dangerous Content - Harassment
- Set appropriate thresholds for each category (Select the threshold for blocking content in this category. Higher sensitivity blocks more)

2.3. Usage Areas
The "Usage Areas" tab is crucial for determining where each Gemini configuration appears:
- Go to the "Usage Areas" tab
- Select the Odoo models where this configuration should be available
- For example:
- Type "Blog" for blog writing assistance
- Select "Project" for project/task description generation
- Select "mail message" for email replies
This setting ensures that when users open the Gemini dialog in specific areas of Odoo, the most relevant configurations appear first.

2.4. Testing Your Configuration
Before using a configuration in production:
- Click the "Test Gemini" button at the top of the configuration form
- Enter a test prompt
- Click "Run Test" to see how Gemini responds
- Adjust configuration parameters if needed
3. Using Gemini AI in Odoo
3.1. Content Generation in Editors
Gemini AI is integrated with Odoo's rich text editor:
- Open any editable content (blog post, project task, etc.)
- Type the word "/Gemini" then open a gemini prompt dialog
- Select a Gemini configuration (relevant ones appear first)
- Enter your prompt describing what content you need
- Click "Generate" to create content
- Review the generated content and click "Insert" to add it to your document

3.2. Generating Alternatives for Selected Text
To improve or transform existing content:
- Select text in the editor
- Click the "Gemini AI" button
- The dialog will open in "Alternatives" mode
- Choose a transformation type or enter custom instructions
- Review the alternatives and select the one you prefer
- Click "Insert" to replace the selected text

4. Message Translation and Replies
4.1. Translating Messages
Translate messages in any chatter with one click:
- Hover over a message in any chatter
- Click the "Translate with Gemini" button (language icon)
- The message will be translated to your current user language
- For example, if your user language is French and the message is in English, it will be translated to French
- Click the same button again to toggle back to the original message

4.2. AI-Powered Email Replies
Generate contextual replies to messages:
- Hover over a message in any chatter
- Click the "Gemini AI Reply" button
- A dialog will open with the message context
- Enter any specific instructions for the reply
- Review the generated reply
- Click "Insert" to add it to the message composer

5. Blog Post Creation
5.1. Writing Blog Posts with Gemini
Create engaging blog content quickly:
- Navigate to Website → Blog
- Create a new blog post or edit an existing one
- Click the "Gemini AI" button in the content editor
- Select a blog-optimized Gemini configuration
- Enter a prompt like "Write a blog post about [topic] with these key points: [points]"
- Review and insert the generated content
- Edit as needed and publish

5.2. Improving Existing Content
Enhance your blog posts:
- Select a portion of your blog post
- Click the "Gemini AI" button
- Choose "Make it more engaging" or enter custom instructions
- Review the alternatives and select the best one
- Continue refining your content with Gemini's assistance
6. Troubleshooting
Common Issues:
- API Key Invalid: Verify your API key in Gemini AI → Settings
- Rate Limits Exceeded: Free tier has limits (check https://ai.google.dev/gemini-api/docs/rate-limits)
- No Configurations Available: Ensure you've created configurations and assigned them to the correct models
For additional support:
- Email: duongodooapps@gmail.com
8. Security Notes
- Keep your API key secure
- Review system instructions to prevent inappropriate prompts
- Configure safety settings appropriately for your organization
- Be aware of data privacy when using external AI services
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