Important: it is assumed that you have a working knowledge of standard Helm chart parameters in order to define them within the configuration file.
This instruction assumes that you are installing and configuring applications using the latest official dial helm chart.
AI DIAL helm chart contains various applications, and, to configure them, it is necessary to make corresponding changes to different sections of the values file.
To add environment variables to AI DIAL application, you can use either env
or secrets
section in specific components, e.g core.env
, openai.secrets
Refer to the helm chart repository to view selected configuration examples.
Refer to the AI DIAL Core to view a complete documentation.
Configure AI DIAL Core parameters in the core
section of the values file.
You can provide dynamic and static settings for the AI DIAL Core:
Refer to static settings in the AI DIAL Core repository to learn more.
Static settings are used on startup and cannot be changed while application is running. You can modify static settings in two ways:
- via environment variables
- add a parameter to an environment variable with the prefix aidial., e.g.
aidial.server.port
- add a parameter to an environment variable with the prefix aidial., e.g.
- by overriding the default configuration file
- set the environment variable AIDIAL_SETTINGS with a full path to the config file
- mount the configuration file at the above path
Dynamic settings are stored in JSON files, specified via config.files
static setting, and reloaded at interval, specified via config.reload
static setting.
Refer to dynamic settings in the AI DIAL Core repository to learn more.
To modify dynamic settings:
- add the environment variable aidial.config.files, e.g.
aidial.config.files: '["/mnt/secrets-store/aidial.config.json"]'
- mount the configuration file at the provided path
Refer to the AI DIAL Chat to view a complete documentation.
Configure chat parameters in the chat
section of the values file.
You can modify chat settings using environment variables.
Refer to the AI DIAL Chat Themes to view a complete documentation.
Configure Themes parameters in the themes
section of the values file.
This component is designed for customizing AI DIAL Chat themes and images, as well as hosting the necessary static files for other AI DIAL applications. To apply any changes, we recommend building your own Docker image based on this component.
- Refer to the Adapter for Bedrock to view a complete documentation.
- Refer to the Adapter for Vertex to view a complete documentation.
- Refer to the Adapter for OpenAI to view a complete documentation.
To work with Azure, AWS or GCP models, AI DIAL uses applications called Adapters. You can configure Adapters in the openai
,bedrock
and vertexai
sections.
You can modify adapters settings using environment variables.
Refer to these repositories to learn how to configure adapters:
Refer to the AI DIAL Assistant to view a complete documentation.
You can add AI DIAL Assistant settings in the assistant
section of the AI DIAL values file.
You can modify Assistant settings using environment variables.
Refer to the Auth Helper to view a complete documentation.
You can add Auth Helper settings in the authhelper
section of the AI DIAL values file.
You can modify Assistant settings using environment variables with Spring style.