|
4 | 4 | "metadata": { |
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | | - "version": "0.36.1.42791", |
8 | | - "templateHash": "2947534626644546773" |
| 7 | + "version": "0.36.177.2456", |
| 8 | + "templateHash": "1860841716622591379" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
362 | 362 | "uniqueId": "[toLower(uniqueString(parameters('environmentName'), subscription().id, variables('solutionLocation')))]", |
363 | 363 | "solutionPrefix": "[format('ca{0}', padLeft(take(variables('uniqueId'), 12), 12, '0'))]", |
364 | 364 | "abbrs": "[variables('$fxv#0')]", |
365 | | - "functionAppSqlPrompt": "Generate a valid T-SQL query to find {query} for tables and columns provided below:\n 1. Table: Clients\n Columns: ClientId, Client, Email, Occupation, MaritalStatus, Dependents\n 2. Table: InvestmentGoals\n Columns: ClientId, InvestmentGoal\n 3. Table: Assets\n Columns: ClientId, AssetDate, Investment, ROI, Revenue, AssetType\n 4. Table: ClientSummaries\n Columns: ClientId, ClientSummary\n 5. Table: InvestmentGoalsDetails\n Columns: ClientId, InvestmentGoal, TargetAmount, Contribution\n 6. Table: Retirement\n Columns: ClientId, StatusDate, RetirementGoalProgress, EducationGoalProgress\n 7. Table: ClientMeetings\n Columns: ClientId, ConversationId, Title, StartTime, EndTime, Advisor, ClientEmail\n Always use the Investment column from the Assets table as the value.\n Assets table has snapshots of values by date. Do not add numbers across different dates for total values.\n Do not use client name in filters.\n Do not include assets values unless asked for.\n ALWAYS use ClientId = {clientid} in the query filter.\n ALWAYS select Client Name (Column: Client) in the query.\n Query filters are IMPORTANT. Add filters like AssetType, AssetDate, etc. if needed.\n When answering scheduling or time-based meeting questions, always use the StartTime column from ClientMeetings table. Use correct logic to return the most recent past meeting (last/previous) or the nearest future meeting (next/upcoming), and ensure only StartTime column is used for meeting timing comparisons.\n Only return the generated SQL query. Do not return anything else.", |
366 | | - "functionAppCallTranscriptSystemPrompt": "You are an assistant who supports wealth advisors in preparing for client meetings. \n You have access to the client’s past meeting call transcripts. \n When answering questions, especially summary requests, provide a detailed and structured response that includes key topics, concerns, decisions, and trends. \n If no data is available, state 'No relevant data found for previous meetings.", |
367 | | - "functionAppStreamTextSystemPrompt": "The currently selected client's name is '{SelectedClientName}'. Treat any case-insensitive or partial mention as referring to this client.\n If the user mentions no name, assume they are asking about '{SelectedClientName}'.\n If the user references a name that clearly differs from '{SelectedClientName}' or comparing with other clients, respond only with: 'Please only ask questions about the selected client or select another client.' Otherwise, provide thorough answers for every question using only data from SQL or call transcripts.'\n If no data is found, respond with 'No data found for that client.' Remove any client identifiers from the final response.\n Always send clientId as '{client_id}'." |
| 365 | + "functionAppSqlPrompt": "Generate a valid T-SQL query to find {query} for tables and columns provided below:\r\n 1. Table: Clients\r\n Columns: ClientId, Client, Email, Occupation, MaritalStatus, Dependents\r\n 2. Table: InvestmentGoals\r\n Columns: ClientId, InvestmentGoal\r\n 3. Table: Assets\r\n Columns: ClientId, AssetDate, Investment, ROI, Revenue, AssetType\r\n 4. Table: ClientSummaries\r\n Columns: ClientId, ClientSummary\r\n 5. Table: InvestmentGoalsDetails\r\n Columns: ClientId, InvestmentGoal, TargetAmount, Contribution\r\n 6. Table: Retirement\r\n Columns: ClientId, StatusDate, RetirementGoalProgress, EducationGoalProgress\r\n 7. Table: ClientMeetings\r\n Columns: ClientId, ConversationId, Title, StartTime, EndTime, Advisor, ClientEmail\r\n Always use the Investment column from the Assets table as the value.\r\n Assets table has snapshots of values by date. Do not add numbers across different dates for total values.\r\n Do not use client name in filters.\r\n Do not include assets values unless asked for.\r\n ALWAYS use ClientId = {clientid} in the query filter.\r\n ALWAYS select Client Name (Column: Client) in the query.\r\n Query filters are IMPORTANT. Add filters like AssetType, AssetDate, etc. if needed.\r\n When answering scheduling or time-based meeting questions, always use the StartTime column from ClientMeetings table. Use correct logic to return the most recent past meeting (last/previous) or the nearest future meeting (next/upcoming), and ensure only StartTime column is used for meeting timing comparisons.\r\n Only return the generated SQL query. Do not return anything else.", |
| 366 | + "functionAppCallTranscriptSystemPrompt": "You are an assistant who supports wealth advisors in preparing for client meetings. \r\n You have access to the client’s past meeting call transcripts. \r\n When answering questions, especially summary requests, provide a detailed and structured response that includes key topics, concerns, decisions, and trends. \r\n If no data is available, state 'No relevant data found for previous meetings.", |
| 367 | + "functionAppStreamTextSystemPrompt": "The currently selected client's name is '{SelectedClientName}'. Treat any case-insensitive or partial mention as referring to this client.\r\n If the user mentions no name, assume they are asking about '{SelectedClientName}'.\r\n If the user references a name that clearly differs from '{SelectedClientName}' or comparing with other clients, respond only with: 'Please only ask questions about the selected client or select another client.' Otherwise, provide thorough answers for every question using only data from SQL or call transcripts.'\r\n If no data is found, respond with 'No data found for that client.' Remove any client identifiers from the final response.\r\n Always send clientId as '{client_id}'." |
368 | 368 | }, |
369 | 369 | "resources": [ |
| 370 | + { |
| 371 | + "type": "Microsoft.Resources/tags", |
| 372 | + "apiVersion": "2021-04-01", |
| 373 | + "name": "default", |
| 374 | + "properties": { |
| 375 | + "tags": { |
| 376 | + "TemplateName": "Client Advisor" |
| 377 | + } |
| 378 | + } |
| 379 | + }, |
370 | 380 | { |
371 | 381 | "type": "Microsoft.Resources/deployments", |
372 | 382 | "apiVersion": "2022-09-01", |
|
394 | 404 | "metadata": { |
395 | 405 | "_generator": { |
396 | 406 | "name": "bicep", |
397 | | - "version": "0.36.1.42791", |
398 | | - "templateHash": "1287895326947269968" |
| 407 | + "version": "0.36.177.2456", |
| 408 | + "templateHash": "17366528426252264029" |
399 | 409 | } |
400 | 410 | }, |
401 | 411 | "parameters": { |
|
508 | 518 | "metadata": { |
509 | 519 | "_generator": { |
510 | 520 | "name": "bicep", |
511 | | - "version": "0.36.1.42791", |
512 | | - "templateHash": "2457137526968921597" |
| 521 | + "version": "0.36.177.2456", |
| 522 | + "templateHash": "18360475517235523175" |
513 | 523 | } |
514 | 524 | }, |
515 | 525 | "parameters": { |
|
733 | 743 | "metadata": { |
734 | 744 | "_generator": { |
735 | 745 | "name": "bicep", |
736 | | - "version": "0.36.1.42791", |
737 | | - "templateHash": "13634339460279357495" |
| 746 | + "version": "0.36.177.2456", |
| 747 | + "templateHash": "15524709584492116446" |
738 | 748 | } |
739 | 749 | }, |
740 | 750 | "parameters": { |
|
1369 | 1379 | "metadata": { |
1370 | 1380 | "_generator": { |
1371 | 1381 | "name": "bicep", |
1372 | | - "version": "0.36.1.42791", |
1373 | | - "templateHash": "4784003223337407725" |
| 1382 | + "version": "0.36.177.2456", |
| 1383 | + "templateHash": "11938772240348515861" |
1374 | 1384 | } |
1375 | 1385 | }, |
1376 | 1386 | "parameters": { |
|
1447 | 1457 | "metadata": { |
1448 | 1458 | "_generator": { |
1449 | 1459 | "name": "bicep", |
1450 | | - "version": "0.36.1.42791", |
1451 | | - "templateHash": "1709475957170755318" |
| 1460 | + "version": "0.36.177.2456", |
| 1461 | + "templateHash": "11899270249637077405" |
1452 | 1462 | } |
1453 | 1463 | }, |
1454 | 1464 | "parameters": { |
|
1596 | 1606 | "metadata": { |
1597 | 1607 | "_generator": { |
1598 | 1608 | "name": "bicep", |
1599 | | - "version": "0.36.1.42791", |
1600 | | - "templateHash": "12179523327793839969" |
| 1609 | + "version": "0.36.177.2456", |
| 1610 | + "templateHash": "8645494058104543506" |
1601 | 1611 | } |
1602 | 1612 | }, |
1603 | 1613 | "parameters": { |
|
1757 | 1767 | "metadata": { |
1758 | 1768 | "_generator": { |
1759 | 1769 | "name": "bicep", |
1760 | | - "version": "0.36.1.42791", |
1761 | | - "templateHash": "9019656445963157268" |
| 1770 | + "version": "0.36.177.2456", |
| 1771 | + "templateHash": "15740867049667651602" |
1762 | 1772 | } |
1763 | 1773 | }, |
1764 | 1774 | "parameters": { |
|
1931 | 1941 | "metadata": { |
1932 | 1942 | "_generator": { |
1933 | 1943 | "name": "bicep", |
1934 | | - "version": "0.36.1.42791", |
1935 | | - "templateHash": "6152102507143828636" |
| 1944 | + "version": "0.36.177.2456", |
| 1945 | + "templateHash": "17137003456218736893" |
1936 | 1946 | } |
1937 | 1947 | }, |
1938 | 1948 | "parameters": { |
|
2232 | 2242 | "metadata": { |
2233 | 2243 | "_generator": { |
2234 | 2244 | "name": "bicep", |
2235 | | - "version": "0.36.1.42791", |
2236 | | - "templateHash": "4144537398413637557" |
| 2245 | + "version": "0.36.177.2456", |
| 2246 | + "templateHash": "10507186896960913919" |
2237 | 2247 | } |
2238 | 2248 | }, |
2239 | 2249 | "parameters": { |
|
2818 | 2828 | "metadata": { |
2819 | 2829 | "_generator": { |
2820 | 2830 | "name": "bicep", |
2821 | | - "version": "0.36.1.42791", |
2822 | | - "templateHash": "399023243105742355" |
| 2831 | + "version": "0.36.177.2456", |
| 2832 | + "templateHash": "9287160422728403181" |
2823 | 2833 | }, |
2824 | 2834 | "description": "Creates a SQL role assignment under an Azure Cosmos DB account." |
2825 | 2835 | }, |
|
2882 | 2892 | "metadata": { |
2883 | 2893 | "_generator": { |
2884 | 2894 | "name": "bicep", |
2885 | | - "version": "0.36.1.42791", |
2886 | | - "templateHash": "1709475957170755318" |
| 2895 | + "version": "0.36.177.2456", |
| 2896 | + "templateHash": "11899270249637077405" |
2887 | 2897 | } |
2888 | 2898 | }, |
2889 | 2899 | "parameters": { |
|
0 commit comments