Installation Guide¶
๐ฏ Prerequisites¶
Before installing AI Complete Suite, make sure you have the following:
Odoo System Requirements¶
- Odoo Version: 17.0, 18.0, 19.0
- Database: PostgreSQL 13 or higher
- Access: Admin access to Odoo system
System Requirements¶
- CPU: 4 cores or higher
- RAM: Minimum 8GB, recommended 16GB
- Storage: 2GB for modules and data
- Operating System: Linux (Ubuntu/Debian recommended)
๐ง Environment Setup¶
Choose your installation environment:
Self-Hosted Environment¶
Python Dependencies¶
Install required Python packages using pip:
Core Dependencies (Required for all modules):
pip install mistune>=3.0.0 \
markdownify>=0.11.0 \
pyyaml>=6.0 \
"pydantic>=2.0.0,<2.11.0" \
docstring_parser>=0.15 \
fastembed>=0.5.0,<=0.5.1
AI Provider Dependencies (Install based on your needs):
For ChatGPT Connector:
For Claude Connector:
For Gemini Connector:
PostgreSQL Extension Setup¶
Install and enable pgvector extension:
Note: Replace 17 with your PostgreSQL version. Check version with:
Enable the extension:
-- Connect to your Odoo database
\c your_odoo_database_name
-- Enable the vector extension
CREATE EXTENSION IF NOT EXISTS vector;
Module Upload¶
Copy AI modules to your Odoo addons directory:
# Copy modules to addons directory
cp -r /path/to/ai_modules/* /path/to/odoo/addons/
# Restart Odoo service
sudo systemctl restart odoo
Odoo.sh Environment¶
PostgreSQL Extension Check¶
Odoo.sh typically comes with pgvector pre-installed on their databases, so you usually don't need to install it anymore. However, let's verify it's working properly:
# Connect to your Odoo.sh database
psql
# Check if pgvector extension exists
CREATE EXTENSION IF NOT EXISTS vector;
Expected Results:
- โ "CREATE EXTENSION" - Extension installed successfully
- โ "ERROR: extension 'vector' does not exist" - Contact Odoo.sh support
Note: If pgvector is not available, contact Odoo.sh support as you cannot install PostgreSQL extensions yourself.
Python Dependencies¶
Create requirements.txt in your repository root:
# Navigate to your Git repository root
cd /path/to/your/odoo-sh-repository
# Append Python dependencies to requirements.txt
echo "mistune>=3.0.0" >> requirements.txt
echo "markdownify>=0.11.0" >> requirements.txt
echo "pyyaml>=6.0" >> requirements.txt
echo "pydantic>=2.0.0,<2.11.0" >> requirements.txt
echo "docstring_parser>=0.15" >> requirements.txt
echo "fastembed>=0.5.0,<=0.5.1" >> requirements.txt
# For ChatGPT Connector
echo "openai>=1.0.0" >> requirements.txt
# For Claude Connector
echo "anthropic>=0.80.0" >> requirements.txt
# For Gemini Connector
echo "google-genai>=1.32.0" >> requirements.txt
Note: Odoo.sh automatically installs dependencies from requirements.txt on each deployment.
Module Upload¶
Copy the AI modules source code into your Git repository, commit then push to your Odoo.sh branch.
โ๏ธ Module Installation¶
Update Module List¶
- Log into your Odoo system as an administrator
- Go to Apps โ Update Apps List
- Click Update to refresh the module list
Install Core Module¶
- Go to Apps โ Search for "AI"
- Find "AI Integration Base"
- Click Install
Install Additional Modules (Optional)¶
Depending on your needs, install these modules:
For Discuss Integration:
- Search for "AI Assistant for Discuss"
- Click Install
For Livechat Integration:
- Search for "AI Chatbot for Livechat"
- Click Install
For AI Providers:
- ChatGPT: Search for "AI ChatGPT Connector"
- Claude: Search for "AI Claude Connector"
- Gemini: Search for "AI Gemini Connector"
๐ Configuration¶
Create AI Configuration¶
- Go to Settings โ Technical โ AI โ Configurations
- Click Create
-
Fill in the details:
- Name: "My AI Configuration"
- Type: Choose your AI provider (ChatGPT, Claude, or Gemini)
- API Key: Enter your API key from the provider
- Model: Leave default or specify your preferred model
- Temperature: 0.7 (recommended for balanced responses)
- Max Tokens: 2048 (or as needed)
Get API Keys¶
For ChatGPT (OpenAI):
- Go to OpenAI Platform
- Create an account or sign in
- Go to API Keys section
- Create a new API key
- Copy the key and save it securely
For Claude (Anthropic):
- Go to Anthropic Console
- Create an account or sign in
- Go to API Keys section
- Create a new API key
- Copy the key and save it securely
For Gemini (Google):
- Go to Google AI Studio
- Create an account or sign in
- Go to API Keys section
- Create a new API key
- Copy the key and save it securely
๐งช Testing & Next Steps¶
Verify Installation¶
- Go to Settings โ Technical โ AI
-
You should see these menu items:
- Configurations
- Data Sources
- Contexts
- Assistants
- Prompt Templates
- Threads
Next Steps¶
After successful installation:
- Set up data sources: Data Sources Guide
- Configure contexts: Contexts Guide
- Create your first AI assistant: AI Assistants Guide
- Test with Discuss: Quick Start Guide
Need help? Contact support or check the documentation for your specific issue.