Saturday, November 28, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Containerized Open Source Stack Integrates Odoo ERP With Retrieval Augmented Language Models

November 28, 2026
in Technology and Engineering
Denise Maddox
By Denise Maddox Scienmag Editorial Profile - Mechanical Engineering
Reading Time: 7 mins read
0
Containerized Open Source Stack Integrates Odoo ERP With Retrieval Augmented Language Models

Containerized Open Source Stack Integrates Odoo ERP With Retrieval Augmented Language Models

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Software engineering researchers have introduced AI-UP-RAG, an open-source containerized infrastructure designed to bridge enterprise resource planning software with retrieval-augmented generation pipelines while preserving structured conversational records for downstream research and institutional auditing. Following the rapid adoption of large language models across organizational environments after late 2022, institutions have increasingly faced technical and operational hurdles concerning governance, compliance monitoring, and the responsible management of automated interactions. While standard retrieval-augmented generation frameworks effectively ingest external knowledge to reduce factual hallucinations, they routinely prioritize isolated query-response cycles over automated deployment, native business integration, persistent interaction storage, and subsequent analytical access. The newly published system addresses this architectural gap by presenting a modular, reproducible service stack that coordinates conversational frontends, vector-based information retrieval, administrative data tooling, and external neural generation. Configured around open-source components and evaluated under concurrent workload conditions, the platform offers organizations an auditable mechanism to deploy conversational artificial intelligence assistants while retaining full institutional ownership and traceability over their operational messaging datasets.

The overall system architecture is organized across three bidirectional structural tiers comprising the Client Interaction Layer, the Application Service Layer, and the External AI Services Layer, which communicate through RESTful application programming interfaces. The Client Interaction Layer provides the client-facing chatbot graphical interfaces through which end users submit queries and receive generated responses. Below this interface tier, the Application Service Layer forms the core AI-UP-RAG containerized stack responsible for internal orchestration, data transformations, vector operations, and administrative web environments. The third tier, designated as the External AI Services Layer, establishes secure communication with remote cloud-based large language model providers. In its default reference implementation, the platform routes generation tasks to OpenAI developer endpoints, utilizing the generative capabilities of the GPT-4o mini model, though the underlying codebase remains architecturally decoupled to allow organizations to integrate alternative commercial or self-hosted language model backends through configurable interface contracts without revising the primary operational pipelines.

To coordinate interactions across these three structural tiers, the architecture defines three primary data flows that govern end-user queries, administrative knowledge ingestion, and interaction auditing. In the primary client interaction flow, designated as chatting and storing conversations in PostgreSQL, an end user submits a prompt through a frontend client interface to an exposed RESTful endpoint. The incoming request is ingested by an Odoo instance, which executes a similarity search against the vector-indexed knowledge repository to isolate the most contextually relevant source material. Odoo subsequently packages the user query alongside the retrieved contextual excerpts and transmits an isolated HTTP request to the external language model provider. Upon receiving the generated textual completion, Odoo captures the interaction, commits the user prompt, retrieved context, and model output into a relational PostgreSQL database, and returns the finished response to the originating client interface. The secondary data flow manages institutional knowledge ingestion by allowing administrators to upload and organize reference data directly through Odoo administrative views, converting raw text into persistent database embeddings. The third data flow allows system administrators and researchers to query the stored conversational records directly using dedicated database management utilities, bypassing the conversational interface to review system behaviors.

From an infrastructure perspective, the backend Application Service Layer is implemented as a multi-container topology orchestrated through Docker Compose configurations tailored for self-hosted physical machines, local development environments, and automated deployment management systems such as Dokploy. The containerized deployment comprises five interconnected server containers running inside an isolated Docker virtual network. Inbound web traffic is initially intercepted by an Nginx reverse proxy service tasked with routing HTTP requests, while an automated Let’s Encrypt service handles cryptographic security by managing the generation, installation, and renewal of SSL and TLS certificates via an acme-companion container. The primary business logic runs within an Odoo Community version 18.0 container that has been extended with six custom modular add-ons that implement the retrieval-augmented generation mechanisms. Persistent data storage and vector indexing are managed by a PostgreSQL container equipped with the pgvector extension, while database inspection, administrative querying, and data extraction are facilitated through an integrated pgAdmin 4 web container. The entire infrastructure relies strictly on free and open-source licenses, including the GNU Lesser General Public License version 3, the MIT License, and the permissive PostgreSQL License, eliminating proprietary licensing expenses for enterprise deployment.

Within the core enterprise resource planning container, the system’s specialized operational capabilities are distributed across six bespoke Odoo add-on modules developed to manage knowledge bases, vector transformations, and messaging workflows. The first module, designated as ai_up_advertisements, extends the standard Odoo graphical interface with views that allow administrative personnel to input, inspect, modify, and delete textual entries within the institutional knowledge base, where individual knowledge items are historically indexed under the advertisement identifier. The second module, ai_up_vectorizer_pg_vector, defines the operational configuration for pgvector and handles the generation of mathematical embeddings directly on the host server using the sentence-transformers/all-mpnet-base-v2 model downloaded from Hugging Face and maintained in local cache. The third component, ai_up_vectorizer, introduces an administrative selection view for active vector providers, defines the base class interface contract that future embedding providers must implement, and deploys an Odoo Object-Relational Mapping mixin that automatically fires vectorization hooks when database records are created, updated, or removed. A fourth bridge module, ai_up_advertisements_vectorizer, binds knowledge model operations to the vectorizer mixin, guaranteeing automated vector synchronization whenever reference texts are modified.

The remaining two custom Odoo modules manage external messaging, similarity retrieval, and conversational history preservation. The ai_up_messaging module serves as the primary communication handler, accepting incoming HTTP requests from external client endpoints, orchestrating semantic vector similarity lookups against PostgreSQL, packaging user prompts with relevant context, dispatching generation payloads to the cloud language model, and delivering synthesized answers back to calling applications. Additionally, this module stores the system prompt definitions and configuration parameters that govern the conversational persona, tone, and behavioral boundaries of the virtual assistant. Operating alongside it, the ai_up_message_history module logs every incoming user prompt and generated model response to establish a durable, auditable interaction repository. This module also provides programmable control over the conversation context window, which is configured by default to retrieve the eight most recent historical messages preceding the current query. By injecting these eight prior conversational turns into the generation payload, the pipeline provides the language model with essential short-term conversational context, ensuring dialogic continuity across multi-turn exchanges while operating over simple, stateless HTTP calls.

The platform supports diverse client integrations by exposing standardized RESTful API endpoints, allowing external chat frontends to interact with the backend service stack without specialized connector libraries. In its default operational distribution, the system provides pre-configured endpoint routes named WhatsApp and Discord, located at URLs such as api/v1/whatsapp/answers, reflecting prevalent enterprise communication channels while allowing software developers to duplicate and customize additional route handlers as needed. To demonstrate functional client connectivity, the authors developed a lightweight web-based conversational interface using Python and Streamlit, which was deployed to Streamlit Cloud to provide end users with an accessible chat interface. However, because communication is decoupled across standard HTTP POST transactions carrying structured payload objects, any client application, mobile tool, or development utility capable of transmitting RESTful requests, including API testing suites such as Postman, can submit queries and receive generated responses. Regarding cloud data governance, the Application Service Layer communicates with OpenAI using commercial developer API credentials, falling under established platform data policies where information transmitted through developer endpoints is not used by default to train or refine proprietary foundation models unless explicit organizational consent is granted.

To evaluate the operational feasibility and system efficiency of the containerized stack when deployed under resource-constrained conditions, the researchers conducted physical hardware profiling and concurrent request latency benchmarking. The minimum hardware specifications established to operate all five server containers simultaneously comprise 2 central processing unit cores, 4 gigabytes of random-access memory, and 30 gigabytes of persistent disk storage, equivalent to a standard Amazon Web Services Elastic Compute Cloud t3.medium virtual instance. Performance testing measured total round-trip processing latency, defined as the duration between Odoo receiving an external request and returning the finalized generated response to the client. Rather than simulating prolonged human conversational pauses, the concurrency protocol subjected the system to simultaneous batch submissions. Under workloads of 1, 5, and 10 simultaneous requests, total measured latency remained consistently stable between 2.2 and 3.8 seconds. When concurrent demand scaled to 20 simultaneous requests and higher, round-trip latency began to increase noticeably, illustrating that while entry-level computational resources adequately sustain moderate operational traffic, scaling to higher concurrent enterprise workloads necessitates additional processor cores and allocated memory.

Beyond operational execution, a central technical contribution of the AI-UP-RAG stack lies in its native support for persistent data governance, historical conversation analysis, and academic research into artificial intelligence interactions. Standard conversational frameworks frequently treat dialogic history merely as an ephemeral memory buffer used exclusively to maintain contextual coherence during active sessions, discarding or siloing transactional data once interactions terminate. In contrast, AI-UP-RAG automatically stores every messaging exchange within the relational PostgreSQL mail_message table, creating a structured, persistent repository of user queries, retrieved contextual fragments, and model completions. Through the bundled pgAdmin 4 web administration client, institutional administrators, data analysts, and compliance researchers can compose structured SQL queries across combined textual logs and high-dimensional vector embeddings. The system permits direct filtering, inspection, and tabular data export into standard comma-separated values formats, providing organizations with empirical datasets to assess retrieval relevance, examine user interaction patterns, conduct safety auditing, and quantify the linguistic quality of model generations over extended operational periods.

A comparative analysis of existing research literature and representative software platforms highlights the distinct architectural trade-offs addressed by AI-UP-RAG within the contemporary landscape of retrieval-augmented generation. Comparative evaluations against research systems—including domain-specific implementations in healthcare, radiology, fast-moving consumer goods support, and multi-hop reasoning—revealed that academic prototypes routinely omit automated containerized deployment configurations, enterprise resource planning connectivity, and persistent administrative database tooling. Conversely, established open-source artificial intelligence platforms such as Dify, AnythingLLM, and RAGFlow support automated Docker deployment and interaction history, yet they omit embedded database management clients within their baseline stacks, requiring external database administration setups to perform structured query operations. Furthermore, while the Odoo LLM project integrates language models into enterprise workflows, AI-UP-RAG combines reproducible container deployment, multi-provider API extensibility, integrated vector generation, and direct pgAdmin interaction analysis in a single environment. For institutions operating established enterprise software, the custom modules can also be integrated directly into preexisting Odoo databases without deploying the full container suite, establishing an adaptable foundation for future conversational enhancements such as autonomous agent workflows and automated tool execution.

Subject of Research: Containerized service stack integrating Odoo ERP and pgvector for auditable retrieval-augmented generation chatbots

Article Title: AI-UP-RAG: A containerized service stack for deploying odoo-based RAG chatbots to support data analysis and research

Article References: Briseño, R. A., López-Pimentel, J.-C., Del-Valle-Soto, C., Del-Puerto-Flores, J. A., Cossio, E., & Gonzalez-Sanchez, J. (2026). AI-UP-RAG: A containerized service stack for deploying odoo-based RAG chatbots to support data analysis and research. SoftwareX, 36, Article 103269. https://doi.org/10.1016/j.softx.2026.103269

Image Credits: AI Generated

DOI: 10.1016/j.softx.2026.103269

Keywords: AI-UP-RAG, Retrieval-Augmented Generation, Odoo ERP, PostgreSQL, pgvector, pgAdmin, Docker Compose, Nginx, Let's Encrypt, Streamlit, Large Language Models, Enterprise AI, AI Governance, OpenAI API, Vector Embeddings, Semantic Search, all-mpnet-base-v2

Cite Scienmag News

Denise Maddox. (November 28, 2026). Containerized Open Source Stack Integrates Odoo ERP With Retrieval Augmented Language Models. Scienmag. https://scienmag.com/containerized-open-source-stack-integrates-odoo-erp-with-retrieval-augmented-language-models/

Denise Maddox. "Containerized Open Source Stack Integrates Odoo ERP With Retrieval Augmented Language Models." Scienmag, 28 November 2026, https://scienmag.com/containerized-open-source-stack-integrates-odoo-erp-with-retrieval-augmented-language-models/. Accessed 28 November 2026.

Denise Maddox. "Containerized Open Source Stack Integrates Odoo ERP With Retrieval Augmented Language Models." Scienmag. November 28, 2026. https://scienmag.com/containerized-open-source-stack-integrates-odoo-erp-with-retrieval-augmented-language-models/

Tags: AI governanceAI-UP-RAGall-mpnet-base-v2Docker ComposeEnterprise AIlarge language modelsLet's EncryptNginxOdoo ERPOpenAI APIpgAdminpgvectorPostgreSQLretrieval-augmented generationsemantic searchStreamlitvector embeddings
Share26Tweet16
Previous Post

Hierarchical Edge Enhancement Architecture Improves Digital Image Tampering Detection Accuracy

Next Post

Multicenter Deep Learning Model Screens Multiple Hip Abnormalities on Plain Radiographs

Related Posts

Hierarchical Edge Enhancement Architecture Improves Digital Image Tampering Detection Accuracy
Technology and Engineering

Hierarchical Edge Enhancement Architecture Improves Digital Image Tampering Detection Accuracy

November 28, 2026
Silicon Carbide and Graphene Heterojunction Enhances Thermal Transport in Simulations
Technology and Engineering

Silicon Carbide and Graphene Heterojunction Enhances Thermal Transport in Simulations

November 28, 2026
Wearable Sensors for Cattle Reproduction Face Severe Practical On-Farm Engineering Bottlenecks
Agriculture

Wearable Sensors for Cattle Reproduction Face Severe Practical On-Farm Engineering Bottlenecks

November 28, 2026
Optimized Multi-Additive Formulation Balances High Compressive Strength and Efflorescence in Alkali-Activated Slag
Technology and Engineering

Optimized Multi-Additive Formulation Balances High Compressive Strength and Efflorescence in Alkali-Activated Slag

November 28, 2026
California DREAMS and Northwest Hub Unite to Expand Microelectronics Prototyping Ecosystem
Technology and Engineering

California DREAMS and Northwest Hub Unite to Expand Microelectronics Prototyping Ecosystem

November 28, 2026
Photonic Crystal Hybrid Enhances Fluorescence Detection for Smartphone Sensors
Technology and Engineering

Photonic Crystal Hybrid Enhances Fluorescence Detection for Smartphone Sensors

November 28, 2026
Next Post
Multicenter Deep Learning Model Screens Multiple Hip Abnormalities on Plain Radiographs

Multicenter Deep Learning Model Screens Multiple Hip Abnormalities on Plain Radiographs

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27657 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Study Finds No MDRO Contamination on Consumables in Colonized Patient Rooms
  • Adolescent Safe Abortion Access Expands in Ethiopia, Nepal, and Mexico
  • Spatial Transcriptomics Maps Long Non-Coding RNA Disruptions in Alzheimer’s Disease Cortex
  • Review Highlights Distinct Safety Profiles and Oversight Needs for Pluripotent Stem Cells

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,151 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading