FAQ
Answers to your questions about RAG, local AI, and Lexiane's technical choices.
What is a RAG?
A RAG (Retrieval-Augmented Generation) is a technology that combines a language model — like those powering ChatGPT — with your own documents. Rather than answering solely from its general training, the system first searches your document base for the most relevant passages, then generates a precise answer grounded in those sources. The result: responses based on your actual data, with cited references.
Why use a RAG?
General AI models don't know your internal documents, procedures, contracts, or history. A RAG fills that gap: it lets AI answer specific questions directly from your own knowledge base. The benefits are immediate — time saved on information retrieval, sourced and verifiable answers, and an AI that adapts to your business context rather than relying on generic knowledge.
Why run a RAG locally?
When a RAG runs in the cloud (like ChatGPT), your documents are sent to external servers. With a local RAG, everything stays on your infrastructure: your data never leaves your premises. This is essential for organizations with confidentiality obligations (healthcare, legal, defense, industry) or those concerned about digital sovereignty. A local RAG also ensures availability without depending on internet access.
Why Lexiane's hexagonal architecture?
The hexagonal architecture (also called "ports and adapters") separates the application's business core from all its external interfaces — databases, APIs, AI models, file systems. At Lexiane, this technical choice has a concrete consequence for you: you can replace any component (change the language model, vector database, or cloud provider) without rewriting the entire system. Your investment is protected, your freedom of choice is total.
Why use Rust?
Rust is a programming language designed to combine performance and reliability. Unlike Python, which is widely used in AI, Rust produces no unpredictable memory errors and runs with maximum efficiency. For Lexiane, the choice of Rust means: deployment as a single executable file with no dependencies to install, reduced resource consumption, and reliability suited to critical environments. It is also the only language that can reach the certification levels required for regulated sectors such as healthcare, defense, and aerospace.