stanford-oval/WikiChat
A RAG-based chatbot from Stanford that reduces LLM hallucination by retrieving grounded information from Wikipedia and custom document corpora.

WikiChat implements an improved retrieval-augmented generation pipeline that fetches relevant information from a knowledge corpus to ground LLM responses and minimize hallucination. It supports configuring different LLMs and embedding models, building custom indexes over Wikipedia or arbitrary documents, and offers an online demo. The system was published at EMNLP 2023 and includes tooling for both Wikipedia search and custom document indexing.