AI Agent Module Documentation - dealwallet1/tsssinfotech_docs GitHub Wiki

Installation and Setup Guide

1.Clone and Install Dependencies

git clone https://github.com/dealwallet1/odoo.git

Copy the cloned odoo repo requirements.txt dependencies and paste in main odoo files requirements.txt where server is running.

py -3.10 -m venv venv

venv/Scripts/activate

pip install -r requirements.txt*

python odoo-bin -c odoo.conf -d odoo -u ai_agent_module

2. Access Odoo Instance

3. Activate the Module

  1. Navigate to Apps

  2. Search for "AI Agent Module" in the tools category

  3. Click Activate and Update if already installed

Module Features

AI Agent Dashboard

  • After installation, you'll see the AI Agent app in your Odoo menu

  • The dashboard includes:

    AI Agent Conversations

    AI Agent Configuration

Configuration

1. Navigate to AI Agent > Config

2. Set up your AI agent with the following parameters:

    Name: Identifier for your AI agent

    Model: Select the AI model to use (e.g., GPT-3.5, GPT-4)

    API Key: Your model platform API key

    Organization ID: Your organization ID from supabase (if applicable)

    Customer ID: Identifier for customer/tenant (if applicable)

Conversation History

  • The AI Agent Conversations dashboard displays:

    All historical interactions between users and the AI agent

    Timestamps for each conversation

    Conversation context and responses

Integration with Live Chat

1. Set Up Live Chat Channel

  1. Navigate to Live Chat application

  2. Select or create a channel

  3. In channel settings:

     > Choose your AI Agent as the operator

     > Save the configuration

2. Test on Website

  1. Navigate to your Website

  2. Look for the message icon in the bottom right corner

  3. Click the icon to open the chat popup

  4. Verify your AI Agent is listed as the operator

  5. Begin conversation by asking questions - the AI Agent will respond in real-time