This is the day-to-day quick guide for running the pipeline safely.
cd "/media/artiq/DATA/AI Data Pipeline/backup_cleanup/python_files"
./go_live.sh --check-only
./go_live.shIf --check-only fails, do not run production.
export OPENAI_PROVIDER=ollama
export OLLAMA_BASE_URL=http://127.0.0.1:11434/v1
export OPENAI_MODEL=qwen2.5:7bexport OPENAI_PROVIDER=openai
export OPENAI_API_KEY="<REAL_KEY>"
export OPENAI_MODEL=gpt-4oexport OPENAI_PROVIDER=openrouter
export OPENROUTER_API_KEY="<REAL_KEY>"
export OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
export OPENAI_MODEL=openrouter/autoexport OPENAI_PROVIDER=lmstudio
export LMSTUDIO_BASE_URL=http://127.0.0.1:1234/v1
export OPENAI_MODEL=local-modelDefault chain:
inputPhase 1Phase 2Phase 3Phase 4
Do not manually bypass phases unless troubleshooting.
- Open app.
- In AI Settings, choose provider preset.
- In Processing, choose output format (use
GPT JSONLfor ChatGPT fine-tuning). - In Phases, verify all required phases enabled.
- Start pipeline.
Use Phase 3 target openai or gpt_jsonl.
Expected record format:
{"messages":[{"role":"user","content":"..."},{"role":"assistant","content":"..."}]}Combined dataset file (if enabled):
chatgpt_training.jsonl
./run_pipeline.sh --health-only --smoke
./run_pipeline.sh --health-only --smoke --strict--strictis required for production gate.
- If strict check fails on creds:
- verify provider env vars and real keys.
- If strict check fails on deps:
- run
python3 setup.py --install-type full --yesinbackup_cleanup/python_files.
- run
- If local provider fails:
- confirm Ollama/LM Studio process is running and endpoint is reachable.
- Never place real keys in tracked files.
- Use environment variables only.
- Rotate keys immediately if accidentally exposed.
Interactive launcher installer (asks desktop/menu options):
cd "/media/artiq/DATA/AI Data Pipeline/backup_cleanup/python_files"
python3 install_app.py- Linux desktop icon:
~/Desktop/AI Data Pipeline.desktop - Linux command:
~/.local/bin/ai-data-pipeline-launcher - Windows scripts:
backup_cleanup/python_files/run_pipeline.bat - iOS shortcut guide:
backup_cleanup/python_files/launchers/ios/IOS_LAUNCHER_SETUP.md