Skip to main content
Install the local components and make sure the Ollama models are available:
Save this program as local_rag.py, then replace the directory path or pass it as an argument in your own CLI.
Run it from the environment where RAGLight is installed:
Keep persist_directory stable to reuse the same Chroma collection across runs. Avoid ingesting the same unchanged files repeatedly unless duplicate chunks are acceptable.