Alric le Conte

Projects / rag-knowledge-assistant

Assistant that answers from internal documents (RAG)

A chat assistant that answers from internal document libraries and optional web search, cites its sources and can return a Word report.

Period
2025–2026
Role
GenAI engineer
Context
Large industrial group
Cloud
Azure
Sourcescited in its answers

[ Architecture ]

How it works

Run a scenario to follow it through the system, step by step. Select a component to read its role and see what it connects to.

Run a scenario

userEmployeeasks in the chatchannelCompany chatbot relayaiRAG assistantFastAPI · LangGraphstorageHybrid searchPostgreSQL + pgvectoraiLLMAzure OpenAIsystemWeb searchoptional
question

an employee

What are the steps of the inspection procedure?

A question about an internal procedure, asked in the company chat.

ConsoleSimulated run · illustrative data
  1. Press Ask about a procedure to watch each step run through the system.
  1. 01EmployeeAsks the question in the chat
  2. 02Company chatMessage relayed to the assistant
  3. 03RAG assistantConversation loaded · plan - search internal documents
  4. 04Hybrid searchKeyword and vector search · top passages returned
  5. 05RAG assistantPassages ranked and kept
  6. 06LLMAnswer written from the passages · sources cited
  7. ✓The employee gets an answer in the chat with its sources listed, internal documents first.

Problem

Employees needed to ask questions in a chat and get answers from documents scattered across several internal libraries. The assistant also had to offer optional web search, produce a Word report, run inside the existing Azure environment and show its sources.

Data

Internal documents of several kinds, public web pages when the web option is used, and the conversation history. Access follows the existing rights on the libraries.

Approach

  • Keyword and vector search run in the same PostgreSQL database, so exact terms and paraphrases both match.
  • Internal documents come first, web search second, and the answer cites where each part came from.
  • The steps are a LangGraph graph, with memory per conversation and a Word report generator for follow-ups.

Evaluation

No formal evaluation set was recorded for this project. The design makes answers checkable instead: each answer cites the passages it relies on.

Result

The assistant runs inside the company chat app, and its answers cite their sources.

My role

GenAI engineer on the whole chain: use-case framing, RAG architecture, backend, retrieval, orchestration, chat integration, Azure deployment decisions and user onboarding.