-
Notifications
You must be signed in to change notification settings - Fork 35
feat: DIAL 1.42 #484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
PolinaGurinovich97
wants to merge
14
commits into
main
Choose a base branch
from
feat/dial-1.42
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+148
−0
Draft
feat: DIAL 1.42 #484
Changes from 10 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
affc082
feat: DIAL 1.42
PolinaGurinovich97 c9ec166
feat: DIAL 1.42
PolinaGurinovich97 b8b2da6
feat: update ai-dial-rag
PolinaGurinovich97 083e50c
Update upgrade-to-1.42.md
sdryapko a852d05
updated quickapps entry
ypldan ecc7e54
Merge branch 'main' into feat/dial-1.42
PolinaGurinovich97 6492a76
chore: update admin-frontend
PolinaGurinovich97 f3fa22e
chore: update admin frontend
PolinaGurinovich97 652588a
ai-dial-chat: 0.44.1
IlyaBondar 7ffe5e7
Merge branch 'feat/dial-1.42' of https://github.com/epam/ai-dial into…
IlyaBondar 069e856
chore: remove ai-dial-auth-helper
PolinaGurinovich97 9ef867c
Update admin-backend version in upgrade-to-1.42.md
KirylKurnosenka 06e0731
Update upgrade guide with Docker image details
valerydluski fc65205
Update admin-backend version in upgrade-to-1.42.md
KirylKurnosenka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,136 @@ | ||
| # Instructions | ||
|
|
||
| ## Versions | ||
|
|
||
| 1. Helm chart versions: | ||
| - dial: `TBD` | ||
| - dial-core: `TBD` | ||
| - dial-extension: `TBD` | ||
| - dial-admin: `TBD` | ||
| 2. Main components versions: | ||
| - ai-dial-adapter-bedrock: `0.38.0` | ||
| - ai-dial-adapter-openai: `0.38.0` | ||
| - ai-dial-adapter-vertexai: `0.34.0` | ||
| - ai-dial-adapter-dial: `0.13.0` | ||
| - ai-dial-auth-helper: `0.4.0` | ||
| - ai-dial-chat-themes: `0.14.0` | ||
| - ai-dial-chat: `0.44.1` | ||
| - ai-dial-core: `0.42.0` | ||
| - ai-dial-analytics-realtime: `0.22.0` | ||
| - ai-dial-rag: `0.41.0` | ||
| - ai-dial-log-parser: `0.3.0` | ||
| - ai-dial-code-interpreter: `0.2.0` | ||
| - ai-dial-app-controller: `0.4.0` | ||
| - ai-dial-app-builder-python: `0.1.0` | ||
| - ai-dial-quickapps-backend: `0.6.0` | ||
| - ai-dial-mind-map-backend: `0.13.3` | ||
| - ai-dial-mind-map-frontend: `0.9.22` | ||
| - ai-dial-admin-backend: `0.15.0` | ||
| - ai-dial-admin-frontend: `0.15.2` | ||
| - ai-dial-admin-deployment-manager-backend: `0.15.0` | ||
|
|
||
| ## Before upgrade | ||
|
|
||
| ### General notes | ||
|
|
||
| - Please review the [Config changes](#config-changes) chapter carefully for each component that is used in your DIAL installation. Changes in components' configuration may be required. | ||
| - Please check if any image tag overrides (`image.tag`) are present and remove them if they are not required anymore. | ||
| - Please check and add `image.repository` to change the image location for `redis`, `postgresql`, `keycloak` and `keycloakConfigCli` components to start using alternative Docker registries (e.g. Amazon ECR Public Gallery) if required. | ||
|
|
||
| ### Release-specific notes | ||
|
|
||
| ## Config changes | ||
|
|
||
| ### ai-dial-adapter-openai | ||
|
|
||
| New optional field - The [upstream `extra_data`](https://github.com/epam/ai-dial-core/blob/development/docs/dynamic-settings/models.md#modelsmodel_nameupstreams) field in the DIAL Core config allows specifying which incoming request headers the adapter should forward to the upstream. DIAL Core provides `extra_data` to the adapter inside the `X-UPSTREAM-EXTRA-DATA` request header. The adapter then attaches every header listed in `headers_to_proxy` that is present in the incoming request to the outgoing upstream call. | ||
|
|
||
| A practical use case is routing requests within a vLLM cluster: [DIAL Chat](https://github.com/epam/ai-dial-chat) generates an `x-conversation-id` header for every conversation, and a vLLM routing can use it as an affinity key to route all turns of the same conversation to the same worker. | ||
|
|
||
| #### New environment variables | ||
|
|
||
| |Variable|Default|Description| | ||
| |-|-|-| | ||
| |SSE_HEARTBEAT_INTERVAL||If set, the adapter inserts ping comments into streaming chat completion responses after the connection has been idle for the specified number of seconds, helping prevent read timeouts when the upstream is unresponsive.| | ||
| |VLLM_DEPLOYMENTS||Comma-separated list of deployments that use a vLLM OpenAI-compatible upstream. Example: vllm-llama3,vllm-qwen2| | ||
|
|
||
| ### ai-dial-analytics-realtime | ||
|
|
||
| #### InfluxDB 3 Configuration | ||
|
|
||
| Set the following environment variables to connect to the InfluxDB instance: | ||
|
|
||
| | Variable | Description | | ||
| |----------------|-------------| | ||
| | `INFLUX_URL` | URL of the InfluxDB instance to write analytics data | | ||
| | `INFLUX_DATABASE` | Name of the InfluxDB 3 database to write analytics data | | ||
| | `INFLUX_API_TOKEN` | InfluxDB API token with write access to the target database | | ||
|
|
||
| Refer to the [InfluxDB 3 documentation](https://docs.influxdata.com/influxdb3/core/get-started/) for instructions to set up InfluxDB locally and obtain the required configuration parameters. | ||
|
|
||
| > **Important:** | ||
| > The `INFLUX_DATABASE` variable was introduced in version 0.22.0. | ||
| > For earlier versions, set `INFLUX_BUCKET` to the target database name and `INFLUX_ORG` to any non-empty value (e.g., `"ignored"`) to enable InfluxDB 3 support. | ||
| ----- | ||
| > [!IMPORTANT] | ||
| > Aggregated Dashboards are only supported for InfluxDB 2. | ||
|
|
||
| ### ai-dial-rag | ||
|
|
||
| #### New environment variables | ||
|
|
||
| | Variable | Optional | Description | | ||
| |---------------------------|---------|----------------------------------------------------------------------------------------| | ||
| | `DIAL_RAG__HEADERS_TO_PROXY` | `yes` | List of headers to proxy from the request to the dial core. | | ||
|
|
||
|
|
||
| ### ai-dial-quickapps-backend: | ||
|
|
||
| #### QuickApps Schema Configuration | ||
|
|
||
| > [!IMPORTANT] | ||
| > Since version [0.42.0](https://github.com/epam/ai-dial-core/releases/tag/0.42.0) DIAL Core supports [app schema endpoint feature](https://github.com/epam/ai-dial-core/pull/1352). | ||
| > | ||
| > Required components versions: | ||
| > * `ai-dial-core:0.42.0` | ||
| > * (if used) `ai-dial-admin-backend:0.15.0` | ||
| > * (if used) `ai-dial-admin-frontend:0.15.0` | ||
| > | ||
| > In setups with such versions QuickApps **must be configured to use schema endpoint** instead of putting whole schema to DIAL Core. | ||
| > In that way new schemas will be delivered along with the new Docker images of QuickApps, making process smooth and simple. | ||
| > Migration steps: | ||
| > * In DIAL Core config json or in DIAL Admin remove the following properties in configuration schema: | ||
| > * `$defs` | ||
| > * `type` | ||
| > * `title` | ||
| > * `propertires` | ||
| > * `required` | ||
| > * Add new property, replacing `{quickapps_base_url}` with actual service's base URL: | ||
| > * `dial:applicationTypeSchemaEndpoint": "{quickapps_base_url}/v1/configuration-support/application-schema" | ||
| > | ||
| > Full schema configuration reference can be found [here](https://github.com/epam/ai-dial-quickapps-backend/blob/0.6.0/docs/application-schema.md#quickapps-application-schema) | ||
|
|
||
| #### New environment variables | ||
|
|
||
| | Variable | Default | Description | | ||
| |---------------------------|---------|----------------------------------------------------------------------------------------| | ||
| | `ENABLE_PREVIEW_FEATURES` | `false` | Enable preview features across the deployment (schema visibility + runtime activation) | | ||
|
|
||
|
|
||
| #### Removed environment variables | ||
|
|
||
| | Variable | Reason | | ||
| |--------------------------------------------|-----------------------------------------------------------| | ||
| | `PLOTLY_IMAGE_CONVERSION_LOG_LEVEL` | Kaleido/Chromium dependency removed from Docker image | | ||
| | `PY_INTERPRETER_ADDITIONAL_HANDLING_MODEL` | Title generation logic replaced with tool [Changes](https://github.com/epam/ai-dial-quickapps-backend/pull/176)| | ||
|
|
||
|
|
||
| ### ai-dial-admin-backend | ||
| #### Upgrade Notice | ||
|
|
||
| This release includes **many critical and high-priority changes**. Please review the [full upgrade guide](https://github.com/epam/ai-dial-admin-backend/blob/0.15.0/docs/upgrade-plans/0.15.0.md) and the [infrastructure changelog](https://github.com/epam/ai-dial-admin-backend/blob/release-0.15/docs/INFRA-CHANGELOG.md) before proceeding. | ||
|
|
||
| ### ai-dial-admin-deployment-manager-backend: | ||
| #### Upgrade Notice | ||
|
|
||
| This release includes **many critical and high-priority changes**. Please review the [full upgrade guide](https://github.com/epam/ai-dial-admin-deployment-manager-backend/blob/0.15.0/docs/upgrade-plans/0.15.0.md) before proceeding. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Upgrade guide does not provide a clear statement and the description of the use case when
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.