Skip to main content

Configuration Reference

The Deployment page covers the minimum values needed to bring the Collate AI Proxy up against a provider. This page documents the remaining config values: bot authentication, model tiers, context retrieval, logging, and error reporting. The config values in this reference map to environment variables that the chart generates. The settings in Settings Without a Chart Value use extraEnvs, so the chart does not add them until you supply them.
Note: These settings require a Collate AI Proxy chart release whose values schema includes the config keys on this page, running an AI platform image of 1.13.3 or later. The published chart repository does not yet contain a compatible release. Until it does, do not add these values to an older chart: Helm rejects unknown config keys during schema validation rather than ignoring them.Check the chart version you are about to install:

Bot Authentication and Impersonation

The proxy has no user database of its own. When an agent needs metadata, the proxy calls back into the Collate REST API as the CollateAIApplicationBot and passes the requesting user’s identity, so Collate applies that user’s roles and policies to every read. The bot must have impersonation enabled in Collate for this to work. How the proxy obtains the bot token depends on config.secretsManager.provider.

Static Token

With the default noop provider, the proxy uses the token you supply directly. Retrieve it from Collate under Settings > Bots > CollateAIApplicationBot. For production, keep the token in a Kubernetes Secret and reference it. When botJwtTokenSecretRef.name and botJwtTokenSecretRef.key are both set, the secret reference takes precedence over the inline botJwtToken.

Secrets Manager

With a managed provider, the proxy reads the token from your secrets store at runtime and refreshes it on a five-minute cache, so rotating the bot token does not require a redeploy. The pod needs credentials for that store, through IRSA, pod identity, workload identity, or an equivalent. The proxy lowercases the prefix, cluster name, and bot name before it builds the secret path:
That example resolves to /production/bot/collateaiapplicationbot/config/jwttoken in AWS Secrets Manager, and config.client.botJwtToken is not needed.
Important: aws and managed-aws are not the same setting. Only the managed- providers, along with gcp and kubernetes, fetch the token from the store. The rest behave like noop: they expect the token to already be present in config.client.botJwtToken or its secret reference, and the proxy cannot authenticate to Collate if it is empty.
Path separators differ per backend. AWS joins the lowercased segments with /; GCP, Azure Key Vault, and Kubernetes join them with -. Kubernetes expects the token in a Secret data key named value; GCP returns the Secret Manager payload, and Azure Key Vault returns the secret value directly.

Model Tiers

The proxy routes work across three model tiers, each configurable on its own.
  • model handles general work: planner routing, workers, and chat.
  • modelSmall handles light tasks such as result titles and entity profiling.
  • modelAdvanced handles SQL generation only.
modelAdvanced takes a comma-separated list tried in order. If every entry is unavailable, SQL generation falls back to model. Setting it to an empty string sends SQL generation to model directly, which is the way to roll back a model change without redeploying anything else.
The defaults are Bedrock model identifiers. If you run a different provider, set all three tiers to identifiers that provider recognizes, and confirm each one is enabled for your account before rolling out.

Azure OpenAI Authentication Mode

Azure OpenAI deployments authenticate with an API key by default. Set authType to use the pod’s Microsoft Entra workload identity instead, which avoids storing a key in the release. Before you enable this mode, configure AKS with an OIDC issuer and Microsoft Entra Workload ID, create a federated credential for the service account, and grant the managed identity the Cognitive Services OpenAI User role on the Azure OpenAI resource. The workload-identity webhook injects AZURE_CLIENT_ID, AZURE_TENANT_ID, and AZURE_FEDERATED_TOKEN_FILE only into pods labeled azure.workload.identity/use: "true". Use the same service account namespace and name in the federated credential subject, then configure the chart and proxy together:

Message and Tool Result Limits

maxUserMessageChars rejects user messages above the limit. The truncation limits cap how much of a tool result reaches the model, which is what keeps a large query result from consuming the whole context window. Results the proxy classifies as large payloads get the higher ceiling.

Context Retrieval

vectorSearchContextThreshold is the minimum relevance score for a result to enter context, so raising it filters out more results and lowering it widens the set. Raising vectorSearchContextSize or maxContextItems raises the respective candidate or final-context cap and can increase token usage per request.

Logging

level sets the root log level. baseBuilderLogLevel targets the prompt builder alone, so you can turn up prompt construction detail without raising the volume of every other logger.

Error Reporting

The proxy can send errors and traces to your own Sentry project. It is disabled by default and stays off unless you set a DSN. Keep the DSN in a Kubernetes Secret rather than in the values file. When dsnSecretRef.name and dsnSecretRef.key are both set, the secret reference takes precedence over the inline dsn.

Settings Without a Chart Value

A few proxy settings have no dedicated chart value. Set them through extraEnvs, which the chart appends after its generated container environment.
Important: VECTOR_SEARCH_K is bound into the AI platform configuration but the current company-context and hybrid-search paths do not consume it. Setting it does not change the number of candidates retrieved, so do not use it as a retrieval-tuning control.

Validation

< Previous

Additional Settings

Next >