diff --git a/src/init_loader.py b/src/init_loader.py new file mode 100644 index 0000000..ca3c23a --- /dev/null +++ b/src/init_loader.py @@ -0,0 +1,16 @@ +"""Utility to bulk‑load the FAQ files into Chroma. + +Run this once before starting the bot to create the persistent vector store. +""" + +import asyncio + +from .chunker import load_faq_to_chroma + +async def main(): + print("Loading FAQ files into Chroma…") + load_faq_to_chroma() + print("✅ Chroma store ready.") + +if __name__ == "__main__": + asyncio.run(main()) \ No newline at end of file