Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Technical
  3. LLM Vector Store Base v 18.0
  4. Sales Conditions FAQ

LLM Vector Store Base

by Apexive Solutions LLC https://github.com/apexive/odoo-llm
Odoo
v 18.0 Third Party 29
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
LLM Integration Base
Lines of code 1188
Technical Name llm_store
LicenseLGPL-3
Websitehttps://github.com/apexive/odoo-llm
Versions 16.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
LLM Integration Base
Lines of code 1188
Technical Name llm_store
LicenseLGPL-3
Websitehttps://github.com/apexive/odoo-llm
Versions 16.0 18.0
  • Description
  • Documentation
Vector Database Abstraction

LLM Vector Store Base

Integration with various vector database providers for LLM applications.

The foundation for RAG (Retrieval Augmented Generation) in Odoo

Abstraction Layer
Similarity Search
Open Source

What is a Vector Store?

Enable semantic search and AI-powered retrieval in Odoo

Vector stores enable AI applications to find semantically similar content. Instead of keyword matching, they understand meaning - finding documents that are conceptually related to your query. This module provides the base abstraction layer that allows Odoo to work with multiple vector database backends.


Core Features

Everything you need for vector-based AI operations

Vector Storage & Retrieval

Store high-dimensional vectors representing your content and retrieve them efficiently when needed.

Similarity Search

Find semantically similar content using vector similarity algorithms. Go beyond keyword matching.

Collection Management

Organize vectors into collections for logical separation and efficient management of different data types.

RAG Support

Foundation for Retrieval Augmented Generation - give AI assistants access to your business knowledge.


Choose Your Backend

This module is extended by specific vector store implementations

LLM PgVector

Use PostgreSQL with pgvector extension. No external services needed.

LLM Chroma

Connect to ChromaDB for dedicated vector database operations.

LLM Qdrant

High-performance vector search with Qdrant vector database.


Technical Details

For developers extending the vector store capabilities

Module Information

Dependencies:

llm (base module)

Category:

Technical

License:

LGPL-3

Version:

18.0.1.0.0

LLM Vector Store Base

Foundation for vector-based AI in Odoo

Developed by Apexive Solutions LLC

Licensed under LGPL-3 • © 2025 All rights reserved.

github.com/apexive/odoo-llm
hello@apexive.com

LLM Vector Store Base for Odoo

Comprehensive vector database abstraction layer providing unified interfaces for similarity search, embeddings storage, and RAG capabilities.

Module Type: 📦 Infrastructure

LLM Store Architecture

Installation

What to Install

This module is typically auto-installed as a dependency. You rarely need to install it directly.

For RAG/Knowledge Base features:

# Install knowledge module with a vector store
odoo-bin -d your_db -i llm_knowledge,llm_pgvector

Auto-Installed Dependencies

These are pulled in automatically:

  • llm (core infrastructure)
  • mail (Odoo messaging)

Choose a Vector Store Implementation

Module Best For Requirements
llm_pgvector | Production (recommended) | PostgreSQL 14+ with pgvector
llm_qdrant | Large-scale deployments | Qdrant server
llm_chroma | Development/testing | None (embedded)

Common Setups

I want to... Install
Add RAG to my AI assistant llm_knowledge + llm_pgvector + llm_assistant
Simple document search llm_knowledge + llm_chroma
High-performance vector search llm_knowledge + llm_qdrant

Overview

The LLM Vector Store Base module serves as the foundation for vector database operations in the Odoo LLM ecosystem. It provides a provider-agnostic interface that enables seamless integration with various vector databases while maintaining consistent APIs and performance optimizations.

Core Capabilities

  • Multi-Provider Support - Unified interface for ChromaDB, pgvector, Qdrant, and other vector stores
  • Collection Management - Abstract models for organizing and managing vector collections
  • Vector Operations - Insert, search, update, and delete operations with metadata support
  • Index Management - Automatic index creation and optimization for performance
  • RAG Integration - Seamless integration with knowledge base and retrieval systems

Key Features

Provider Abstraction Framework

Unified Interface Across Vector Stores:

class LLMStore(models.Model):
    _name = "llm.store"
    _description = "LLM Vector Store"

    def _dispatch(self, method, *args, **kwargs):
        """Dynamic dispatch to service-specific implementation"""
        service_method = f"{self.service}_{method}"
        if hasattr(self, service_method):
            return getattr(self, service_method)(*args, **kwargs)

Collection Management

# Create collection
collection = env['llm.store.collection'].create({
    'name': 'knowledge_base',
    'store_id': store.id,
    'dimension': 1536,  # OpenAI embedding dimension
    'distance_metric': 'cosine'
})
collection.create_collection()

# Insert vectors
collection.insert_vectors(
    vectors=[[0.1, 0.2, 0.3, ...]],
    metadata=[{'document_id': 123}],
    ids=['doc_123']
)

# Search vectors
results = collection.search_vectors(
    query_vector=[0.2, 0.3, 0.4, ...],
    limit=5
)

API Reference

Core Store Methods

# Collection management
def create_collection(self, name, dimension, metric='cosine'):
    """Create new vector collection"""

def delete_collection(self, name):
    """Delete vector collection"""

# Vector operations
def insert_vectors(self, collection, vectors, metadata=None, ids=None):
    """Insert vectors into collection"""

def search_vectors(self, collection, query_vector, limit=10, filter=None):
    """Search similar vectors"""

def update_vectors(self, collection, ids, vectors=None, metadata=None):
    """Update existing vectors"""

def delete_vectors(self, collection, ids=None, filter=None):
    """Delete vectors from collection"""

Technical Specifications

Module Information

  • Name: LLM Vector Store Base
  • Version: 18.0.1.0.0
  • Category: Technical
  • License: LGPL-3
  • Dependencies: llm, mail
  • Author: Apexive Solutions LLC

Key Models

  • ``llm.store``: Base vector store configuration
  • ``llm.store.collection``: Vector collection management

Performance Characteristics

Operation ChromaDB pgvector Qdrant
Insert Speed Good Excellent Excellent
Search Speed Good Very Good Excellent
Scalability Limited Good Excellent
Setup Complexity Low Medium Medium

Related Modules

  • ``llm`` - Base infrastructure and provider framework
  • ``llm_knowledge`` - Knowledge base and RAG integration
  • ``llm_chroma`` - ChromaDB vector store implementation
  • ``llm_pgvector`` - PostgreSQL pgvector implementation
  • ``llm_qdrant`` - Qdrant vector store implementation

Resources

  • GitHub Repository
  • Architecture Overview

License

This module is licensed under LGPL-3.


© 2025 Apexive Solutions LLC. All rights reserved.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with