This guide installs PrivateGPT from the cloned repository using uv, a fast Python package manager. Use this if you want to modify the source, run tests, or use hot-reload during development.
For the simplest install, use the package install instead.
The default source install uses core:
Add feature-specific extras only when you need them, for example uv sync --frozen --extra core --extra queue.
Use Detailed Model Configuration to generate settings-model.yaml, tune model settings in more detail, and run local uv with PGPT_PROFILES=model.
When working on the source, run with --reload to restart automatically on file changes:
Or use the Makefile shortcut (Unix only):