Problem
Nubank has about 9,000 employees, and each team keeps its own Confluence documentation. Team autonomy leaves employees searching for the right page or the owning team, and they often open a support ticket instead. Fine-tuning an LLM on the documentation does not fit, because pages change at any time and retraining each time would cost too much.
Example from the article: finding an answer in Confluence takes up to 30 minutes, and up to 8 hours if the employee has to open a ticket.
Solution in brief
AskNu is a RAG assistant in Slack. A first vector search over Confluence chunks finds candidate pages, and an LLM classifies them into a department by dynamic few-shot classification, using the retrieved chunks as examples. A second search runs only inside that department, and the LLM answers from those chunks with links, or the query goes to an "External Source" path when no documentation is needed.
Questions this case answers
- How to answer questions from a large document collection owned by many autonomous teams without mixing sources of different domains
- How to route a question to the right knowledge domain, or to no domain, before retrieving the final context
- How to measure the effect of a self-service knowledge assistant on support load when no A/B test is run
- How to build a Slack assistant that answers employees' questions from internal Confluence documentation?
Tools and methods
- Confluence — source of documentation pages
- Slack — user interface for questions and answers
- RAG — retrieve chunks at query time instead of fine-tuning
- Dynamic Few-Shot Classification — router that picks the department from the first search results
- Embeddings — an LLM encodes chunks and queries for vector search
Google or a one-time email code. No password.