Skip to content

Commit edc09fb

Browse files
pamelafoxkkname
authored andcommitted
Improve schema of CosmosDB chat history to handle long conversations (Azure-Samples#2312)
* Configure Azure Developer Pipeline * CosmosDB v2 changes * CosmosDB progress * Fix CosmosDB API * Revert unneeded changes * Fix tests * Rename message to message_pair * Address Matt's feedback * Add version env var * Reformat with latest black * Minor updates and test fix * Changes based on Marks call * Fix the frontend for the HistoryList API
1 parent 79d7b57 commit edc09fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

infra/core/host/container-apps.bicep

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ param virtualNetworkSubnetId string = ''
1313
@allowed(['Consumption', 'D4', 'D8', 'D16', 'D32', 'E4', 'E8', 'E16', 'E32', 'NC24-A100', 'NC48-A100', 'NC96-A100'])
1414
param workloadProfile string
1515

16+
1617
var workloadProfiles = workloadProfile == 'Consumption'
1718
? [
1819
{
@@ -22,10 +23,11 @@ var workloadProfiles = workloadProfile == 'Consumption'
2223
]
2324
: [
2425
{
25-
minimumCount: 0
26-
maximumCount: 2
26+
minimumCount: 1
27+
maximumCount: 3
2728
name: workloadProfile
2829
workloadProfileType: workloadProfile
30+
type: 'K8SCPUCores'
2931
}
3032
]
3133

0 commit comments

Comments
 (0)