What RAG is
RAG (retrieval-augmented generation) answers with information the model did not have: first the relevant chunks of the documents are searched for, then they are handed to the model together with the question. Semantic search uses embeddings, vectors that represent the meaning of a text, to find chunks similar to the question even if they share no words.
The planned pipeline
- Input: unstructured documents such as PDF, Word, scans and images that need OCR, and email, TXT and MD.
- Parser and OCR with PyMuPDF and Tesseract, then chunking and embeddings, in workers on Redis and Celery.
- Storage in PostgreSQL with pgvector: documents are stored with a hash and versions, and chunks with their embeddings.
- Retrieval: the Retrieval Tool fetches the top-k chunks, always within a tenant.
- Answer: the RAG agent, routed by the LangGraph orchestrator, answers, and an output guardrail validates the answer and cites the source.
Status
NoteThe platform is in construction, in phase 0: architecture, no code published. There are no retrieval metrics because there is nothing to measure yet. The RAG integration in Nux, the Bonuxo assistant, is in progress and its LLM layer is switched off in production.