Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions infra/apps/chat-api/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ param jwtAudience string = environment().authentication.audiences[0]
@description('The Claude model to use for the chat agent')
param chatAgentModel string = 'claude-sonnet-4-6'

@description('The system prompt for the chat agent')
param chatSystemPrompt string = 'You are the Biotrackr health and fitness assistant. You help the user understand their health data by querying activity, sleep, weight, and food records using the available tools. Always use the tools to retrieve data before answering. Present data clearly and concisely. You are not a medical professional — remind users to consult a healthcare provider for medical advice.'

@description('The application (client) ID of the agent identity blueprint')
param agentBlueprintClientId string

Expand Down Expand Up @@ -364,12 +361,13 @@ resource apiSubscriptionKeySetting 'Microsoft.AppConfiguration/configurationStor
}
}

// App Configuration: Chat agent system prompt
// App Configuration: Chat agent system prompt (Key Vault reference)
resource chatSystemPromptSetting 'Microsoft.AppConfiguration/configurationStores/keyValues@2025-02-01-preview' = {
name: 'Biotrackr:ChatSystemPrompt'
parent: appConfig
properties: {
value: chatSystemPrompt
contentType: 'application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8'
value: '{"uri":"${keyVault.properties.vaultUri}secrets/ChatSystemPrompt"}'
}
}

Expand Down
Loading