Documents from storage are filed into a knowledge base; to a chat question the assistant answers from them and cites which source the answer came from.