Settings hold the configuration that controls how the Prometheux platform behaves for you: your authentication token, which LLM provider and model power AI features, embedding settings, and the limits that apply to your account. Configuration is user-scoped by default and is persisted on the server, so it follows you across sessions. The same values can be read and written through the Python SDK and the REST API — see the full Config reference for every function and endpoint.

Authentication token

The PMTX_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-readable explanations, 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:
You can also select the model version and tune generation parameters:

Default configuration values

The following defaults apply unless you override them:

Saving and loading configuration

User configuration is persisted on the server and can be saved or loaded at any time.
The equivalent REST endpoints are 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:
A typical response:
Your role on the platform can be retrieved with GET /api/v1/users/get-role.

Learn more

  • Config reference — complete list of configuration functions, endpoints, and parameters
  • Python SDK — using prometheux_chain to manage configuration programmatically
  • REST API — HTTP endpoints for configuration and user management