Gemini AI Chat | Google Gemini Chat Assistant
by Steven Marp https://apps.odoo.com/apps/browse?order=Newest&repo_maintainer_id=512936$ 39.99
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 888 |
| Technical Name |
sm_gemini_chat |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?order=Newest&repo_maintainer_id=512936 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 888 |
| Technical Name |
sm_gemini_chat |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?order=Newest&repo_maintainer_id=512936 |
Gemini AI Chat
Native Google Gemini chat assistant for Odoo with built-in API settings, private sessions, history, prompts, and quota tracking
Watch Gemini AI Chat in Action
See how users configure Gemini, create a chat session, send messages, and receive AI answers directly inside Odoo.
Key Features
1 Native Odoo Chat SessionsCreate private Gemini chat sessions from a dedicated Odoo menu. Each user sees their own conversations with user messages and Gemini replies in one timeline. |
Gemini assistant inside Odoo backend |
|
Gemini API settings included |
2 Built-In Gemini API SettingsThe chat includes API key storage, model selection, token tracking, quota guard, connection testing, and Gemini request handling. |
3 Prompt and Model ControlsSet a system prompt per chat session, adjust temperature and max tokens, and optionally override the Gemini model for a specific conversation. |
Control how Gemini responds |
Highlighted Features
Gemini chat · Odoo AI assistant · Private chat sessions · Built-in Gemini settings · System prompts · Model override · Token tracking · Native Odoo views · Odoo 18 AI chat module
Gemini AI Chat for Odoo - Odoo 18 User and Technical Guide
Table of Contents
1. Overview
The Gemini AI Chat for Odoo module adds a native chat interface for Google Gemini inside Odoo.
It helps users:
- Create private Gemini chat sessions.
- Ask questions from the Odoo backend.
- Keep user and assistant message history.
- Configure Gemini API settings directly inside this module.
- Set a system prompt per session.
- Override the Gemini model when needed.
- Adjust temperature and max tokens.
The module is designed for Odoo 18 users who want a simple Gemini assistant before building deeper business-specific AI automations.
3. Installation
- Copy sm_gemini_chat into an Odoo addons path.
- Restart Odoo.
- Update Apps List.
- Install Gemini AI Chat for Odoo.
- Configure Gemini API key in Odoo Settings.
Command-line example:
python3 ~/odoo/odoo-18/odoo-server \ -c ~/odoo/conf/odoo.conf \ -d your_database \ -i sm_gemini_chat \ --stop-after-init \ --no-http
4. Usage
Open Chat
- Open Gemini AI -> Chat.
- Create a new chat session.
- Type a message.
- Click Send.
Gemini replies in the message list.
System Prompt
Use the Instructions tab to guide Gemini behavior.
Example:
You are a concise Odoo assistant. Answer in Indonesian.
Model Override
Leave Model Override empty to use Gemini Chat settings.
Set a value only when you want one chat session to use another Gemini model.
Example:
gemini-2.5-flash-lite
Temperature
Lower values make responses more focused. Higher values make responses more creative.
Recommended default:
0.7
5. Security
Users can access their own chat sessions and messages.
Record rules:
- Chat session domain: user_id = current user.
- Chat message domain: session_id.user_id = current user.
The Gemini API key is stored in Odoo system parameters under this module's settings.
6. Technical Reference
Models
gemini.chat.session gemini.chat.message
Main Session Method
action_send_message()
This method:
- Creates a user message.
- Builds chat history.
- Calls the built-in Gemini service.
- Creates a Gemini assistant reply.
- Updates last message timestamp.
7. Troubleshooting
Gemini API Key Missing
Configure the key in Settings -> Gemini AI Chat.
Quota Exceeded
Check Google AI Studio rate limits. Try another Gemini model or wait for quota reset.
No Reply
Check:
- Gemini Chat test connection works.
- API key is valid.
- Model is available.
- Max tokens is greater than zero.
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