6 Update AI Providers and Models
To change an AI provider, LLM model, token limit or other provider-specific settings after deployment:
- Update
$TSAM_DIR/deploy/TSAMSetup.cfgwith desired AI profile configuration parameters. - Validate the updated configuration.
bash "$TSAM_DIR deploy TSAMDBSchemaUpdateConfig.sh" --validate-only <dbUser>Note:
<dbUser> is the primary TSAM database schema user, not the TSAM DB AI user. - If the provider or its credentials changed, run the regenerated credential script as the TSAM DB AI user.
sqlplus -L "<dbAIUser>@<DB connection string>" @${TSAM_DIR}/deploy/TSAMCreateAICredential.sql - Run the regenerated profile script as the TSAM DB AI user.
sqlplus -L "<dbAIUser>@<DB connection string>" @${TSAM_DIR}/deploy/TSAMCreateAIProfile.sqlThe profile script drops and recreates the AI profiles, vector indexes, and Select AI agent objects. For a non-ADB deployment, switching to OpenAI also requires the appropriate database-side host and wallet ACEs for the TSAM DB AI user.