Skip to main content

Applications and Code Interpreter

These static settings control whether DIAL Core lists custom applications and how it reaches the services that run Code Apps and Code Interpreter sessions. Applications themselves are dynamic configuration; see Applications. This page is for platform engineers who deploy the application runtime around Core; for who builds and runs each application type, see Application hosting and lifecycle.

Applications​

SettingDefaultDescription
applications.includeCustomAppstrueWhether applications are included in the OpenAI-style deployment listing. Code Apps, Custom Apps, Quick Apps, and similar applications need it.
applications.controllerEndpoint—The endpoint of App Controller, which manages deployments for applications with functions.
applications.controllerTimeout240000The timeout of operations against the Application Controller, in milliseconds.
applications.controllerConnectTimeout10000The connection timeout for requests to App Controller, in milliseconds.

Controller timeout defaults are read by Core 0.49.4's ApplicationOperatorService. Controller Kubernetes, image-build, and workload settings are documented in App Controller configuration.

Code Interpreter​

SettingDefaultDescription
codeInterpreter.sessionImage—The container image for Code Interpreter sessions.
codeInterpreter.sessionProxyUrl—When set, a session is deployed as a pod instead of a Knative deployment, and all requests to it go through an nginx proxy at this URL.
codeInterpreter.sessionTtl600000How long a session lives after its last API call, in milliseconds.
codeInterpreter.checkPeriod10000How often Core checks active sessions for expiration, in milliseconds.
codeInterpreter.checkSize256The maximum number of active sessions checked in one pass.

Who may create Code Apps or run Code Interpreter is set by access.createCodeAppRoles; see Access.

For the interpreter container's own environment, Quick Apps connection, and calculation-tool setup, see Code Interpreter configuration.

Example​

{
"applications": {
"includeCustomApps": true,
"controllerEndpoint": "http://dial-app-controller:8080"
},
"codeInterpreter": {
"sessionImage": "epam/ai-dial-code-interpreter:0.2.0",
"sessionTtl": 600000
}
}

Further reading​