Enterprise Edition Configuration
Enterprise-only configuration
EE environment variables
In additon to the extra features mentioned in the overview page, you have access to additional configuraton options in the form of environment variables as an Entprprise Edition user.
ENV_SEED_CONFIGURATION
This variable allows you to start your Onyx instance with pre-configured options that persist across restarts.
Configuration Options
ENV_SEED_CONFIGURATION
accepts a JSON string with the following options:
llms
: List of LLM configurations (name, provider, api_key, api_base, api_version, custom_config, default_model_name, fast_default_model_name)admin_user_emails
: List of email addresses for automatic admin role assignmentseeded_name
: Pre-set name for your Onyx instanceseeded_logo_path
: Path to your logo within theassets
folder
Usage Example
This configuration sets up admin email, instance name, and logo path.
API_KEY_HASH_ROUNDS
This variable allows you to configure the number of rounds used in the SHA-256 Crypt hashing algorithm for API keys.
- Default value: 535000
- Allowed range: 1000 to 999999999
Usage Example
Increasing this value enhances security but may impact performance. The default value provides a good balance for most use cases.
Additional API Endpoints
Standard Answers
Endpoint: POST /query/standard-answer
This endpoint allows you to test the standard answers that would be returned for a given message and set of Slack bot categories.
Request Body
Field | Type | Description |
---|---|---|
message | string | The message to test against the standard answers. |
slack_bot_categories | list[string] | The Slack bot categories to use when searching for standard answers. |
Response
The response will contain the standard answers that match the provided message and categories, or an empty list of standard answers if none are found.
If no standard answers are found, the response will be:
Example Usage
You can test the endpoint using a tool like cURL:
This will test the standard answers for the message “wifi password” and the Slack bot category “General.”
If you have any questions, feel free to message us at founders@onyx.app for clarification or join our Slack or Discord communities.