Skip to content
Merged
Show file tree
Hide file tree
Changes from 110 commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
2dbb0b1
ci: Updated workflow to handle main, dev and demo branch | Dependabot…
Roopan-Microsoft Nov 25, 2024
97ced9f
fix: SFI Fixes & scope reverted to subscription (#1513)
Roopan-Microsoft Nov 25, 2024
903c259
ci: workflow updated for build docker (#1514)
Roopan-Microsoft Nov 25, 2024
4cf2972
ci: build docker updated for dev (#1522)
Roopan-Microsoft Nov 25, 2024
9158819
ci: workflow branch code updated (#1525)
Roopan-Microsoft Nov 25, 2024
4545a48
updated comment
AjitPadhi-Microsoft Nov 25, 2024
84a33b5
updated workflow
AjitPadhi-Microsoft Nov 25, 2024
f8c1c8f
updated workflow
AjitPadhi-Microsoft Nov 25, 2024
e31a661
updated workflow
AjitPadhi-Microsoft Nov 26, 2024
847ce7e
updated bicep for registry
AjitPadhi-Microsoft Nov 26, 2024
8f8cc98
fixed bicep
AjitPadhi-Microsoft Nov 26, 2024
15b948c
fix: bicep updated (#1527)
AjitPadhi-Microsoft Nov 26, 2024
1645e43
Merge branch 'main' into dev
Roopan-Microsoft Nov 27, 2024
8df387a
Merge branch 'dev' of https://github.com/Azure-Samples/chat-with-your…
Roopan-Microsoft Nov 27, 2024
e4dd5f2
fix: Container issue fix for multiple branch (#1539)
AjitPadhi-Microsoft Nov 27, 2024
88d06dc
fix: Updated workflow (#1540)
AjitPadhi-Microsoft Nov 27, 2024
e5cf4dd
ci: Psl container fix for checkout code from head branch (#1541)
Roopan-Microsoft Nov 27, 2024
02d0056
fix: multiple container tag issue fix (#1552)
AjitPadhi-Microsoft Dec 9, 2024
90e1040
fix: Workflow issue fix on docker image (#1554)
AjitPadhi-Microsoft Dec 9, 2024
8a5a1cb
fix: Downmerge dev (#1566)
Pavan-Microsoft Dec 18, 2024
131c323
fix: CWYD Citation Links to Documents Break After Specific Timeframe …
Harmanpreet-Microsoft Dec 18, 2024
93b84ed
fix: Commit changes bug (#1568)
UtkarshMishra-Microsoft Dec 18, 2024
0875b92
fix: Post-Deployment Script for Managing Bicep Outputs in .env File …
Pavan-Microsoft Dec 19, 2024
76190b3
fix: import error in env_helper.py (#1571)
Pavan-Microsoft Dec 19, 2024
c65bf01
fix: add conversation flow in environment variable for adminweb app (…
Priyanka-Microsoft Dec 19, 2024
1f326d9
fix: Update Hosting Model Configuration in ARM/Bicep Template (#1570)
Prasanjeet-Microsoft Dec 19, 2024
fc688c2
fix: Update main.json for changes conversation flow changes in bicep …
Priyanka-Microsoft Dec 19, 2024
56adb59
Merge branch 'main' into dev
Roopan-Microsoft Dec 24, 2024
afaabdc
build: Dependabotchanges merge to Dev branch (#1602)
Roopan-Microsoft Dec 30, 2024
03f52b3
feat: Configurable System Prompts for Flexibility and Maintenance - C…
Pavan-Microsoft Dec 31, 2024
e92eba1
fix: Add Missing Logs (#1609)
Pavan-Microsoft Jan 2, 2025
b0860ee
commented the prompt flow in azure yaml file
Roopan-Microsoft Jan 3, 2025
983b1f7
Merge branches 'dev' and 'dev' of https://github.com/Azure-Samples/ch…
Roopan-Microsoft Jan 3, 2025
dae4043
Add execute permissions parse_env.sh in postprovision hook
Pavan-Microsoft Jan 3, 2025
08ad207
fix: Build issue with docker
Prajwal-Microsoft Jan 4, 2025
c49ddfd
Update build-docker.yml
Prajwal-Microsoft Jan 5, 2025
5994f99
fix: Docker file failure issue
Prajwal-Microsoft Jan 5, 2025
dc7b87c
fix: Response getting ']' brackets, it's inconsistent (#1611)
AjitPadhi-Microsoft Jan 6, 2025
2d1af79
fix: Fix Duplication of Flattened JSON Keys in .env File During Multi…
Pavan-Microsoft Jan 7, 2025
c553312
fix: Role Duplication Error in azd up Command for PostgreSQL (#1621)
Pavan-Microsoft Jan 10, 2025
8213f0a
Merge branch 'main' into dev
Roopan-Microsoft Jan 10, 2025
1f22786
feat: Remove AI search service for PostgreSQL configuration to optimi…
Prasanjeet-Microsoft Jan 13, 2025
7c2391c
feat: Implement Consistent Versioning and Tagging for Accelerator Ima…
Pavan-Microsoft Jan 15, 2025
8393614
Merge branch 'main' into dev
Roopan-Microsoft Jan 20, 2025
3789d45
fix: Warning message displayed twice in chat history update (#1630)
Pavan-Microsoft Jan 24, 2025
699dff8
test: unit test cases changes (#1353)
Kiran-Siluveru-Microsoft Jan 28, 2025
461779f
Update default.json
Roopan-Microsoft Feb 6, 2025
e0be943
Update default_contract_assistant_prompt.txt
Roopan-Microsoft Feb 6, 2025
f28ddc6
Update open_ai_functions.py
Roopan-Microsoft Feb 6, 2025
63ec389
Update build-docker.yml
Roopan-Microsoft Feb 6, 2025
e1d37f1
Update create_app.py
Roopan-Microsoft Feb 6, 2025
ec42447
Update test_conversation.py
Roopan-Microsoft Feb 6, 2025
86dd916
Update test_iv_question_answer_tool.py
Roopan-Microsoft Feb 6, 2025
b1f2615
Update test_response_with_search_documents_tool.py
Roopan-Microsoft Feb 6, 2025
3431205
Update test_conversation_flow.py
Roopan-Microsoft Feb 6, 2025
7025c6e
ci: update docker registry logic for main, dev, and demo branches (#1…
Priyanka-Microsoft Feb 7, 2025
8fca481
fix: Updates to change the Azure OpenAI model from `gpt-35-turbo` to …
Roopan-Microsoft Feb 13, 2025
18e1dca
docs: updated numerical queries section in best practices readme (#1670)
Harsh-Microsoft Feb 17, 2025
c13b4e3
Merge branch 'main' into dev
Roopan-Microsoft Feb 17, 2025
1ed3f43
fix: Admin configuration issue fix (#1676)
AjitPadhi-Microsoft Feb 18, 2025
f083af8
Merge branch 'main' into dev
Roopan-Microsoft Feb 19, 2025
32ebef3
build: Merge Dependabot Changes into Dev Branch (#1679)
Prasanjeet-Microsoft Feb 28, 2025
2803e48
Merge branch 'main' into dev
Roopan-Microsoft Mar 3, 2025
b5f35ac
Package lock updated
Roopan-Microsoft Mar 3, 2025
0b01abb
Merge remote-tracking branch 'origin/main' into dev
Prajwal-Microsoft Mar 4, 2025
21b57da
docs: Added migration readme file (#1668)
Priyanka-Microsoft Mar 4, 2025
6f30b3f
refactor: enforcing authentication based on environment variable "ENF…
Harsh-Microsoft Mar 24, 2025
9de26fd
build: Merge Dependabot Changes into Dev Branch (#1749)
Prasanjeet-Microsoft Apr 11, 2025
f7a2ce9
chore: Update Azure OpenAI Vision Model configuration to turbo-2024-0…
Harmanpreet-Microsoft Apr 15, 2025
dc763c2
feat: json document processor (#1661)
cristofima Apr 16, 2025
9664143
fix: Resolve chunking issue during deployment when enabling advanced …
Priyanka-Microsoft Apr 21, 2025
e8382d3
Merge branch 'main' into dev
Roopan-Microsoft May 5, 2025
4f09b12
fix: bug(#1653) added tooltip for chat history items. (#1785)
Bangarraju-Microsoft May 6, 2025
c7f3e8d
build: Add .dockerignore to optimize Docker build context (#1790)
Prasanjeet-Microsoft May 6, 2025
cea820d
fix: Updated reset configuration to use dialog instead of popover whi…
Vamshi-Microsoft May 9, 2025
5d79d5d
refactor: centralize Azure resource naming with abbreviations.json an…
Harmanpreet-Microsoft May 12, 2025
a9d8511
fix: Changed the button label from "Reset Now" to "Reset" (#1796)
Vamshi-Microsoft May 13, 2025
88caa69
Merge branch 'main' into dev
Roopan-Microsoft May 22, 2025
5383461
main json updated
Roopan-Microsoft May 22, 2025
86ebab4
fix: hardcoded abbreviations in bicep (#1805)
Harsh-Microsoft May 22, 2025
03606b7
fix: Enhance Bicep Outputs for Environment Variable Configuration in …
Prasanjeet-Microsoft May 29, 2025
7ae4b79
fix: Add Cosmos DB Account Key Output for Environment Configuration (…
Prasanjeet-Microsoft May 29, 2025
69669bb
fix: error in 'Process and Ingest Web Pages' under 'Add URLs to the K…
Priyanka-Microsoft Jun 2, 2025
464139c
test: Migrate test automation scripts, llm evaluator and pipeline for…
Harsh-Microsoft Jun 3, 2025
27211e9
ci: configuration to include optional arguments for running tests dur…
Harsh-Microsoft Jun 3, 2025
4fec5b7
Merge branch 'main' into dev
Prasanjeet-Microsoft Jun 3, 2025
b3fcae0
test: add citation link interaction support to e2e tests (#1821)
Harmanpreet-Microsoft Jun 4, 2025
f075a9b
chore: update default OpenAI model to gpt-4.1 across codebase and inf…
Harmanpreet-Microsoft Jun 10, 2025
edb03ab
feat: Down merge from dev & resolved conflicts (#1826)
Prajwal-Microsoft Jun 11, 2025
7f4a427
feat: EXP Changes to reuse existing resource group and Log analytics …
Prajwal-Microsoft Jun 11, 2025
74e1d6c
feat: rebuilt main.json
Prajwal-Microsoft Jun 12, 2025
eccd758
Merge branch 'main' into dev
Roopan-Microsoft Jun 16, 2025
fedee97
test: Implement Log execution time per prompt in Report for CWYD (#1832)
Rohini-Microsoft Jun 19, 2025
c5be551
Merge branch 'main' into dev
Roopan-Microsoft Jun 19, 2025
fc4e2a2
feat: Add Broken Link Checker workflow for Markdown files (#1834)
Vamshi-Microsoft Jun 20, 2025
685e56f
fix: add missing 'text' and 'layoutText' fields for Azure Search inte…
Prasanjeet-Microsoft Jun 26, 2025
a9bd530
Merge branch 'main' into dev
Roopan-Microsoft Jun 30, 2025
7435501
main json updated
Roopan-Microsoft Jun 30, 2025
21d3aef
fix: Only support RBAC with authenticate using managed identity (#1857)
AjitPadhi-Microsoft Jul 14, 2025
fc269f5
ci: refactor deployment workflow to include dynamic URL outputs, e2e …
Harmanpreet-Microsoft Jul 14, 2025
400d1f8
fix: Oneclick deployment issue fix (#1859)
AjitPadhi-Microsoft Jul 14, 2025
049836a
fix: Remove Exposed Speech Service API Key from Network Calls (#1869)
Prasanjeet-Microsoft Jul 28, 2025
0bd33ec
fix: onclick deployment issue fix (#1870)
AjitPadhi-Microsoft Jul 29, 2025
59efafe
chore: update Python and JavaScript dependencies for compatibility a…
Harmanpreet-Microsoft Aug 14, 2025
b536feb
Merge branch 'main' into dev
Roopan-Microsoft Aug 18, 2025
c9d4a23
Updated main json file
Roopan-Microsoft Aug 18, 2025
c69198f
refactor: make principal type optional in role assignments and clean …
Harmanpreet-Microsoft Aug 20, 2025
a4e4d4a
Update deploy_create_table_script.bicep
Roopan-Microsoft Aug 21, 2025
2e2be2c
Merge branch 'main' into dev
Roopan-Microsoft Aug 25, 2025
27f34d8
fix: Cosmos&Postgres]- Error during Team integration (#1893)
Rohini-Microsoft Sep 5, 2025
dad4e6e
fix: Fix for Group Dependabot PRs Pipeline failure (#1900)
NirajC-Microsoft Sep 17, 2025
9d86faa
feat: On click of button teatarea should be clear (#1904)
Rohini-Microsoft Sep 22, 2025
aa7a26f
feat: WAF implementation for CWYD (#1916)
Prajwal-Microsoft Sep 23, 2025
52ea704
fix: fix unit testcases (#1918)
Pavan-Microsoft Sep 24, 2025
4925b3b
ci: update image tags to use 'latest_waf' for Docker builds and deplo…
Harsh-Microsoft Sep 24, 2025
2b28e45
fix: Pipeline issue for deploy & build (#1919)
Prajwal-Microsoft Sep 24, 2025
de608a2
fix: Updated accelerator name
Prajwal-Microsoft Sep 24, 2025
da653ef
fix: Updated the default token limit
Prajwal-Microsoft Sep 24, 2025
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
1 change: 1 addition & 0 deletions extensions/teams/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const config = {
botId: process.env.BOT_ID,
botPassword: process.env.BOT_PASSWORD,
azureFunctionUrl: process.env.AZURE_FUNCTION_URL,
tenantId: process.env.TEAMS_APP_TENANT_ID,
};

export default config;
3 changes: 2 additions & 1 deletion extensions/teams/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import config from "./config";
const credentialsFactory = new ConfigurationServiceClientCredentialFactory({
MicrosoftAppId: config.botId,
MicrosoftAppPassword: config.botPassword,
MicrosoftAppType: "MultiTenant",
MicrosoftAppType: "SingleTenant",
MicrosoftAppTenantId: config.tenantId
});

const botFrameworkAuthentication = new ConfigurationBotFrameworkAuthentication(
Expand Down
10 changes: 9 additions & 1 deletion extensions/teams/infra/azure.bicep
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
@maxLength(20)
@maxLength(25)
@minLength(4)
@description('Used to generate names for all resources in this file')
param resourceBaseName string

@description('Required when create Azure Bot service')
param botAadAppClientId string

@description('Required when using SingleTenant or UserAssignedMSI app type')
param botAadAppTenantId string

@secure()
@description('Required by Bot Framework package in your bot project')
param botAadAppClientSecret string
Expand Down Expand Up @@ -69,6 +72,10 @@ resource webApp 'Microsoft.Web/sites@2021-02-01' = {
name: 'AZURE_FUNCTION_URL'
value: azureFunctionURL
}
{
name: 'TEAMS_APP_TENANT_ID'
value: botAadAppTenantId
}
]
ftpsState: 'FtpsOnly'
}
Expand All @@ -81,6 +88,7 @@ module azureBotRegistration './botRegistration/azurebot.bicep' = {
params: {
resourceBaseName: resourceBaseName
botAadAppClientId: botAadAppClientId
botAadAppTenantId: botAadAppTenantId
botAppDomain: webApp.properties.defaultHostName
botDisplayName: botDisplayName
}
Expand Down
3 changes: 3 additions & 0 deletions extensions/teams/infra/azure.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"botAadAppClientId": {
"value": "${{BOT_ID}}"
},
"botAadAppTenantId": {
"value": "${{TEAMS_APP_TENANT_ID}}"
},
"botAadAppClientSecret": {
"value": "${{SECRET_BOT_PASSWORD}}"
},
Expand Down
9 changes: 6 additions & 3 deletions extensions/teams/infra/botRegistration/azurebot.bicep
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@maxLength(20)
@maxLength(25) // Changed from 20 to 25 to match parent template
@minLength(4)
@description('Used to generate names for all resources in this file')
param resourceBaseName string
Expand All @@ -10,24 +10,27 @@ param botServiceName string = resourceBaseName
param botServiceSku string = 'F0'
param botAadAppClientId string
param botAppDomain string
param botAadAppTenantId string

// Register your web service as a bot with the Bot Framework
resource botService 'Microsoft.BotService/botServices@2021-03-01' = {
resource botService 'Microsoft.BotService/botServices@2023-09-15-preview' = {
kind: 'azurebot'
location: 'global'
name: botServiceName
properties: {
displayName: botDisplayName
endpoint: 'https://${botAppDomain}/api/messages'
msaAppId: botAadAppClientId
msaAppType: 'SingleTenant'
msaAppTenantId: botAadAppTenantId
}
sku: {
name: botServiceSku
}
}

// Connect the bot service to Microsoft Teams
resource botServiceMsTeamsChannel 'Microsoft.BotService/botServices/channels@2021-03-01' = {
resource botServiceMsTeamsChannel 'Microsoft.BotService/botServices/channels@2023-09-15-preview' = {
parent: botService
location: 'global'
name: 'MsTeamsChannel'
Expand Down
3 changes: 2 additions & 1 deletion extensions/teams/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"build": "tsc --build",
"start": "node ./lib/index.js",
"watch": "nodemon --exec \"npm run start\"",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"enable-sp": "node ./scripts/enable-service-principal.js"
},
"repository": {
"type": "git",
Expand Down
46 changes: 46 additions & 0 deletions extensions/teams/scripts/enable-service-principal.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// Script to create a service principal for the Microsoft Entra application
const { exec } = require('child_process');
const util = require('util');
const execPromise = util.promisify(exec);

async function createServicePrincipal() {
const appId = process.env.BOT_ID;

if (!appId) {
console.error('Error: BOT_ID environment variable is not set');
process.exit(1);
}

try {
// Check if Azure CLI is installed and logged in
await execPromise('az account show');

// Check if service principal already exists
const checkCmd = `az ad sp list --filter "appId eq '${appId}'"`;
const { stdout } = await execPromise(checkCmd);

const existingSpList = JSON.parse(stdout);
if (existingSpList && existingSpList.length > 0) {
console.log(`Service principal for application ID ${appId} already exists. Skipping creation.`);
process.exit(0);
}

// Create service principal
const createCmd = `az ad sp create --id "${appId}"`;
await execPromise(createCmd);

console.log('Service principal created successfully.');
} catch (error) {
console.error('Error:', error.message);
if (error.message.includes('az: not found') || error.message.includes('not recognized as an internal or external command')) {
console.error('Azure CLI is not installed or not in PATH. Please install it first.');
} else if (error.message.includes('Please run az login')) {
console.error('You are not logged into Azure. Please run az login first.');
} else {
console.error('Failed to create service principal. Please ensure you have the right permissions.');
}
process.exit(1);
}
}

createServicePrincipal();
8 changes: 8 additions & 0 deletions extensions/teams/teamsapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ provision:
botId: BOT_ID
# The Microsoft Entra application's client secret created for bot.
botPassword: SECRET_BOT_PASSWORD

# Create service principal for the Microsoft Entra application
- uses: cli/runNpmCommand
name: Enable Service Principal
with:
args: run enable-sp
env:
BOT_ID: ${{BOT_ID}}

- uses: arm/deploy # Deploy given ARM templates parallelly.
with:
Expand Down
3 changes: 2 additions & 1 deletion extensions/teams/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"compilerOptions": {
"declaration": true,
"target": "es2021",
"module": "commonjs",
"module": "node16",
"moduleResolution": "node16",
"outDir": "./lib",
"rootDir": "./",
"sourceMap": true,
Expand Down
Loading