Viki
An internal chatbot that answers questions from company wiki content, with references to the source.
Problem
Company knowledge was spread across internal wikis. Finding an answer meant a long search.
Solution
A retrieval-augmented generation (RAG) system. Wiki content is split into around 6,700 chunks, turned into OpenAI embeddings and stored in a FAISS vector index. For each question, the most similar chunks are retrieved and passed to the OpenAI API together with the question. The answer refers back to its sources.
Stack
- Python
- FAISS vector index
- OpenAI embeddings
- OpenAI API
Result
Answers in seconds instead of a long search.
My role
Concept and development.
What I learned
Chunk size and data protection decide quality and trust. Chunk size shapes how good the answers are. Which content is allowed to go to an external API at all decides whether people can trust the tool.