Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.8 KB

THEME-CUSTOMIZATION.md

File metadata and controls

21 lines (12 loc) · 1.8 KB

Theme Customization

You can tailor the appearance of your chat application using themes - a collection of static resources including images, fonts, and colors. AI DIAL Chat provides two pre-set themes - dark (which is the default theme) and light. However, you can deploy a specific service that allows you to modify the default themes or create and configure your own custom themes. This independent service allows you to alter themes without having to rebuild the the chat application Docker image.

Note: after making changes into themes, it is necessary to restart the chat application to apply changes.

Refer to AI DIAL Chat Themes to learn how to deploy and configure a special server for chat themes.

Configuration

If you want to use any other than default themes, deploy ai-dial-chat-themes and create custom configurations.

When this service is deployed, provide a THEMES_CONFIG_HOST environment variable in the AI DIAL Chat configuration containing the URL to your nginx server with themes (can be both public and private). This ensures that the application fetches the configuration file with themes during loading. If the environment variable is not provided, default themes and model icons will be applied.

THEMES_CONFIG_HOST=https://your-config-host.com

After setting the THEMES_CONFIG_HOST environment variable, you can add and customize themes.

Please note that after making modifications, you need to redeploy the server with themes for the changes to take effect. There is a default cache period of 24 hours, after which the new settings will be applied automatically.