Authentication token
ThePMTX_TOKEN authenticates you against the platform. You can set it through an environment variable or through configuration:
LLM and model selection
Prometheux uses LLMs to generate human-readableexplanations, translations of Vadalog rules, graph rag, and LLM output validation tasks. By default, no LLM is configured.
To enable an LLM, set the provider and supply an API key:
Default configuration values
The following defaults apply unless you override them:| Key | Default Value | Description |
|---|---|---|
PMTX_TOKEN | None | Prometheux authentication token |
LLM_API_KEY | None | LLM API key |
LLM_PROVIDER | OpenAI | LLM provider name |
LLM_VERSION | gpt-4o | LLM model version |
LLM_TEMPERATURE | 0.50 | LLM temperature setting |
LLM_MAX_TOKENS | 2000 | Maximum tokens for LLM responses |
EMBEDDING_MODEL_VERSION | text-embedding-3-large | Embedding model version |
EMBEDDING_DIMENSIONS | 2048 | Embedding dimensions |
Saving and loading configuration
User configuration is persisted on the server and can be saved or loaded at any time.POST /api/v1/users/save-config and GET /api/v1/users/load-config. See the Config reference for request and response details.
Usage and limits
Your account has usage limits for LLM and embedding calls. You can check the current usage and remaining quota:GET /api/v1/users/get-role.
Learn more
- Config reference — complete list of configuration functions, endpoints, and parameters
- Python SDK — using
prometheux_chainto manage configuration programmatically - REST API — HTTP endpoints for configuration and user management

