Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
216 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
c069f0c
fix: Simplify allowed values for hosting plan SKU in Bicep and JSON t…
Kingshuk-Microsoft Sep 25, 2025
cba7632
fix: Teams citation issue and add user to postgresdb (#1921)
Pavan-Microsoft Sep 26, 2025
9d4fa10
fix: Standardize principal variables, improve resource group handling…
Pavan-Microsoft Sep 29, 2025
587d5ca
chore: update release workflow trigger to depend on Validate Deployme…
Pavan-Microsoft Sep 29, 2025
f4dbbcb
Merge branch 'main' into dev
Roopan-Microsoft Sep 29, 2025
04cd9c4
resolved conflicts and main.json regenerated
Roopan-Microsoft Sep 29, 2025
baf6c6d
removed duplicated lines
Roopan-Microsoft Sep 29, 2025
28e0a1e
fix: fix byod flow and update integrated vectorization to work with b…
Harsh-Microsoft Sep 30, 2025
4a2a12e
docs: Azure Region Restrictions, Model Capacity Enhancements, and Doc…
Pavan-Microsoft Sep 30, 2025
cd02b5b
fix: Add 'CreatedBy' tag when creating resource group (#1922)
NirajC-Microsoft Sep 30, 2025
1c967f7
docs: Updated README, azure.yml for minimum azd version 1.18.0 (#1930)
Vamshi-Microsoft Oct 1, 2025
d7e02e1
Increase GPT_MIN_CAPACITY from 30 to 150
Roopan-Microsoft Oct 3, 2025
6c36355
Merge branch 'main' into dev
Roopan-Microsoft Oct 6, 2025
f45aae8
docs: adds a new post-deployment guide for users who have deployed us…
Harsh-Microsoft Oct 8, 2025
f2976be
fix: citation link issue resolved (#1937)
Priyanka-Microsoft Oct 8, 2025
a84950e
fix: quota unavailability for handling in quotacheck pipeline (#1938)
NirajC-Microsoft Oct 10, 2025
333a8c1
Merge branch 'main' into dev
Roopan-Microsoft Oct 20, 2025
008cb99
chore: dependabot version upgrade (#1946)
Ayaz-Microsoft Oct 28, 2025
4d9411a
fix: Network Module Changes (#1945)
Abdul-Microsoft Oct 29, 2025
1e513c6
chore: Upgrade Poetry to Latest Version in setupEnv.sh (#1957)
Priyanka-Microsoft Nov 11, 2025
9a79d6a
Merge branch 'main' into dev
Roopan-Microsoft Nov 12, 2025
91c95f6
test: unit tests fix (#1953)
Ayaz-Microsoft Nov 12, 2025
12cb507
fix: Expand button missing when left-hand side panel is collapsed (#…
Rohini-Microsoft Nov 13, 2025
fefaedc
fix: update deprecated openai model to GPT-4.1 (#1961)
Priyanka-Microsoft Nov 19, 2025
1372068
fix: update deprecated openai model version (#1962)
Priyanka-Microsoft Nov 19, 2025
db33e52
fix: Cleanup multiple gpt41 deployments (#1964)
Priyanka-Microsoft Nov 20, 2025
cb60eae
fix: updated main json to latest (#1965)
Priyanka-Microsoft Nov 21, 2025
c4636f0
feat: Add Troubleshooting Guide for Log Analytics Workspace Deletion …
Abdul-Microsoft Nov 24, 2025
070c79f
fix: resolve merge conflicts between dev and main (#1969)
Priyanka-Microsoft Nov 24, 2025
cebba45
chore: Resolved conflicts (#1970)
Prajwal-Microsoft Nov 24, 2025
109c406
chore: Resolved conflicts (#1973)
Prajwal-Microsoft Nov 24, 2025
40d33a6
Merge remote-tracking branch 'origin/dev' into resolve-conflict
Prajwal-Microsoft Nov 24, 2025
2c511f5
chore: Resolve conflict (#1975)
Prajwal-Microsoft Nov 24, 2025
64adabe
Merge branch 'resolve-conflict' into dev
Prajwal-Microsoft Nov 24, 2025
578555a
chore: Merging from main branch (#1979)
Prekshith-Microsoft Nov 28, 2025
1b487a4
feat: Implementation of Configurable Logging Control via Flag (#1966)
AjitPadhi-Microsoft Nov 28, 2025
39d12b3
fix: Conflict issue fix with dev and main (#1981)
AjitPadhi-Microsoft Dec 1, 2025
c9fd702
Merge branch 'main' into dev
Roopan-Microsoft Dec 1, 2025
a40e461
fix: convert storage image source url to base64 (#1989)
Priyanka-Microsoft Dec 5, 2025
ab4e718
Merge branch 'main' into dev
Roopan-Microsoft Dec 22, 2025
b3ea020
ci: add path filters to reduce unnecessary workflow runs (#1997)
Harmanpreet-Microsoft Dec 23, 2025
a811422
docs: Revise structure and enhance Local Deployment Guide (#1991)
Harsh-Microsoft Jan 2, 2026
17a5648
feat: Added Local Development setup file
Prajwal-Microsoft Jan 2, 2026
ca794c1
test: enhance e2e test docs, config, and screenshot handling (#2012)
Harmanpreet-Microsoft Jan 5, 2026
615fb70
docs: Add Troubleshoot document (#2014)
NirajC-Microsoft Jan 5, 2026
e776548
fix: Downmerge from main to dev (#2021)
Priyanka-Microsoft Jan 9, 2026
36d83ee
fix: Read Aloud audio playback stops when switching to another sectio…
Rafi-Microsoft Jan 11, 2026
682ea4e
Merge branch 'main' into dev
Roopan-Microsoft Jan 12, 2026
28c6c38
docs: add instructions for using existing Azure deployments (#2019)
Ayaz-Microsoft Jan 13, 2026
2f91a61
chore: Dev to main (#2024) (#2033)
Prajwal-Microsoft Jan 15, 2026
dbd7887
Merge branch 'readme-updates' into dev
Prajwal-Microsoft Jan 15, 2026
2b0d3e5
fix: Dependabot package upgrade changes (#2032)
Priyanka-Microsoft Jan 16, 2026
647a907
feat: Add Tooltip in application (#2036)
NirajC-Microsoft Jan 16, 2026
4f51293
test: Adding missing tests or correcting existing tests (#2035)
Pavan-Microsoft Jan 19, 2026
ea97579
test: Correct account URL assertion in TestCreateQueueClient - fix Co…
Pavan-Microsoft Jan 20, 2026
0b83836
Merge branch 'main' into dev
Prajwal-Microsoft Jan 20, 2026
aad5f69
Merge branch 'main' into dev
Roopan-Microsoft Jan 27, 2026
1d9d720
fix: Resolved the issue with dev container (#2046)
Prekshith-Microsoft Jan 28, 2026
2394bc7
Merge branch 'main' into dev
Roopan-Microsoft Feb 2, 2026
8dbd708
fix: CWYD local deployment issue (#2059)
Priyanka-Microsoft Feb 6, 2026
816d844
fix: fixed embedding issue for 3-large (#2061)
AjitPadhi-Microsoft Feb 6, 2026
e5023d9
fix: explore tab dimension does not support issue (#2067)
Priyanka-Microsoft Feb 10, 2026
0f8853b
fix: Updated unit tests (#2069)
AjitPadhi-Microsoft Feb 10, 2026
4934ea5
Merge branch 'main' into dev
Roopan-Microsoft Feb 17, 2026
bc690f4
build: Dependabotchanges (#2083)
AjitPadhi-Microsoft Feb 17, 2026
8fb00c2
fix: Fix for Date Relativity issue in CWYD response (#2084)
NirajC-Microsoft Feb 17, 2026
5d729e8
fix: Fix for Repeated Citation bug (#2086)
NirajC-Microsoft Feb 18, 2026
77caef8
fix: fix for ingest non-English file names and URLs (#2025)
Akhileswara-Microsoft Feb 19, 2026
55b6090
fix: Resolved the tag-related issue (#2090)
Prekshith-Microsoft Feb 19, 2026
4754c28
chore: Enable Conditional Step Skipping in Pipeline (#2076)
Priyanka-Microsoft Feb 23, 2026
45b4c52
refactor: added separate module to enable managed identity for search…
Harsh-Microsoft Feb 24, 2026
bee44c7
fix: Jailbreak error fix with prompt update (#2098)
AjitPadhi-Microsoft Feb 24, 2026
9fb1e44
fix: Regenerate poetry.lock with available virtualenv version (#2100)
AjitPadhi-Microsoft Feb 25, 2026
a7d6a2e
Potential fix for code scanning alert no. 117: Workflow does not cont…
Roopan-Microsoft Feb 25, 2026
6a2eca4
Merge branch 'main' into dev
Roopan-Microsoft Feb 25, 2026
568ae37
Correct capitalization in project name
Roopan-Microsoft Feb 25, 2026
84caf6f
Update tests.yml
Roopan-Microsoft Feb 25, 2026
51b34ce
Update README.md
Roopan-Microsoft Feb 25, 2026
6200b70
fix: reverted pipeline check implementation (#2102)
AjitPadhi-Microsoft Feb 25, 2026
17cd65c
Merge branch 'main' into dev
Roopan-Microsoft Mar 2, 2026
98d4a5b
fix: Semantic kernel updated to fix jailbreak error in teams (#2113)
AjitPadhi-Microsoft Mar 5, 2026
8af81cd
Merge branch 'main' into dev
Roopan-Microsoft Mar 16, 2026
0511564
fix: update jumpbox VM size to Standard_D2s_v5 and improve troublesho…
Harsh-Microsoft Mar 19, 2026
8215b0a
ci: Refactor pipelines and sample data upload workflows; migrate clie…
Vamshi-Microsoft Mar 26, 2026
b0f8a8a
fix: Updated azure.yaml file to exclude the 1.23.9 azd version (#2132)
AjitPadhi-Microsoft Mar 26, 2026
f3dcdbf
Merge branch 'main' into dev
Roopan-Microsoft Mar 30, 2026
d5f93d0
chore: upgrade Azure OpenAI embedding model to text-embedding-3-small…
Ayaz-Microsoft Apr 6, 2026
518fb9e
fix: add bicep version requirement (>= 0.33.0) to azure.yaml (#2156)
Roopan-Microsoft Apr 9, 2026
26298b8
fix: Replace Bicep DeploymentScripts with post-deployment setup scrip…
Abdul-Microsoft Apr 9, 2026
51916ac
ci: Add Bicep parameter validation workflow and script (#2149)
Harsh-Microsoft Apr 9, 2026
09095f0
fix: Filter the paths to run the pipeline (#2152)
Prekshith-Microsoft Apr 9, 2026
3924ba5
feat: Update azure.yaml file show post-deploy instructions (#2160)
Abdul-Microsoft Apr 10, 2026
510cd01
Merge branch 'main' into dev
Roopan-Microsoft Apr 13, 2026
d522e07
main,json updated
Roopan-Microsoft Apr 13, 2026
c7212b9
ci: Updated packaging scripts path in azure.yml (#2163)
Vamshi-Microsoft Apr 13, 2026
be3edba
fix: update frontend packaging script execution to use bash (#2164)
Vamshi-Microsoft Apr 13, 2026
51b0c77
ci: Added post-deployment workflow and script execution logic (#2168)
Vamshi-Microsoft Apr 16, 2026
b34f12f
fix: validate and fix local development setup
Priyanka-Microsoft Apr 20, 2026
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
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ AZURE_OPENAI_RESOURCE=
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_MODEL=gpt-4o
AZURE_OPENAI_MODEL_NAME=gpt-4o
AZURE_OPENAI_EMBEDDING_MODEL=text-embedding-ada-002
AZURE_OPENAI_EMBEDDING_MODEL=text-embedding-3-small
AZURE_OPENAI_TEMPERATURE=0
AZURE_OPENAI_TOP_P=1.0
AZURE_OPENAI_MAX_TOKENS=1000
Expand Down
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
max-line-length = 88
extend-ignore = E501
exclude = .venv
exclude = .venv,.python_packages
ignore = E203, W503
3 changes: 3 additions & 0 deletions .github/workflows/broken-links-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Broken Link Checker

on:
pull_request:
paths:
- '**/*.md'
- '.github/workflows/broken-links-checker.yml'
workflow_dispatch:

permissions:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,27 @@ on:
- main
- dev
- demo
paths:
- 'code/**'
- '!code/tests/**'
- 'docker/**'
- 'package.json'
- 'pyproject.toml'
- '.github/workflows/build-docker-images.yml'
- '.github/workflows/build-docker.yml'
pull_request:
branches:
- main
- dev
- demo
paths:
- 'code/**'
- '!code/tests/**'
- 'docker/**'
- 'package.json'
- 'pyproject.toml'
- '.github/workflows/build-docker-images.yml'
- '.github/workflows/build-docker.yml'
types:
- opened
- ready_for_review
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ on:
- main
- dev
- demo
paths:
- 'infra/**'
- 'scripts/**'
- 'azure.yaml'
- 'pyproject.toml'
- 'Makefile'
- '.github/workflows/ci.yml'
schedule:
- cron: '0 8,20 * * *' # Runs at 8:00 AM and 8:00 PM GMT
workflow_dispatch:
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/job-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -557,13 +557,25 @@ jobs:
DATABASE_TYPE: ${{ inputs.DATABASE_TYPE }}
secrets: inherit

# Run post-deployment setup (Function App client key + PostgreSQL tables)
post-deployment-setup:
needs: [azure-setup, deploy-linux, deploy-windows]
if: |
always() &&
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success')
uses: ./.github/workflows/job-post-deployment-setup.yml
with:
RESOURCE_GROUP_NAME: ${{ needs.azure-setup.outputs.RESOURCE_GROUP_NAME }}
secrets: inherit

# Call PostgreSQL setup workflow when DATABASE_TYPE is PostgreSQL
import-sample-data-postgresql:
needs: [azure-setup, deploy-linux, deploy-windows]
needs: [azure-setup, deploy-linux, deploy-windows, post-deployment-setup]
if: |
always() &&
inputs.DATABASE_TYPE == 'PostgreSQL' &&
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success')
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success') &&
needs.post-deployment-setup.result == 'success'
uses: ./.github/workflows/import-sample-data-postgresql.yml
with:
RESOURCE_GROUP_NAME: ${{ needs.azure-setup.outputs.RESOURCE_GROUP_NAME }}
Expand All @@ -572,11 +584,12 @@ jobs:

# Call CosmosDB/Azure Search setup workflow when DATABASE_TYPE is CosmosDB
import-sample-data-cosmosdb:
needs: [azure-setup, deploy-linux, deploy-windows]
needs: [azure-setup, deploy-linux, deploy-windows, post-deployment-setup]
if: |
always() &&
inputs.DATABASE_TYPE == 'CosmosDB' &&
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success')
(needs.deploy-linux.result == 'success' || needs.deploy-windows.result == 'success') &&
needs.post-deployment-setup.result == 'success'
uses: ./.github/workflows/import-sample-data-cosmosdb.yml
with:
RESOURCE_GROUP_NAME: ${{ needs.azure-setup.outputs.RESOURCE_GROUP_NAME }}
Expand Down
103 changes: 103 additions & 0 deletions .github/workflows/job-post-deployment-setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Post-Deployment Setup

on:
workflow_dispatch:
inputs:
RESOURCE_GROUP_NAME:
description: 'Azure Resource Group name'
required: true
type: string
workflow_call:
inputs:
RESOURCE_GROUP_NAME:
description: 'Azure Resource Group name'
required: true
type: string

permissions:
id-token: write
contents: read

jobs:
post-deployment-setup:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install Python Dependencies
shell: bash
run: |
pip install psycopg2-binary azure-identity

- name: Run Post-Deployment Setup (Attempt 1)
id: setup1
shell: bash
env:
RESOURCE_GROUP: ${{ inputs.RESOURCE_GROUP_NAME }}
run: |
chmod +x scripts/post_deployment_setup.sh
bash scripts/post_deployment_setup.sh "$RESOURCE_GROUP"
continue-on-error: true

- name: Wait 20 seconds before retry
if: ${{ steps.setup1.outcome == 'failure' }}
shell: bash
run: sleep 20s

- name: Run Post-Deployment Setup (Attempt 2)
id: setup2
if: ${{ steps.setup1.outcome == 'failure' }}
shell: bash
env:
RESOURCE_GROUP: ${{ inputs.RESOURCE_GROUP_NAME }}
run: |
chmod +x scripts/post_deployment_setup.sh
bash scripts/post_deployment_setup.sh "$RESOURCE_GROUP"
continue-on-error: true

- name: Wait 40 seconds before final retry
if: ${{ steps.setup2.outcome == 'failure' }}
shell: bash
run: sleep 40s

- name: Run Post-Deployment Setup (Attempt 3)
id: setup3
if: ${{ steps.setup2.outcome == 'failure' }}
shell: bash
env:
RESOURCE_GROUP: ${{ inputs.RESOURCE_GROUP_NAME }}
run: |
chmod +x scripts/post_deployment_setup.sh
bash scripts/post_deployment_setup.sh "$RESOURCE_GROUP"

- name: Generate Post-Deployment Summary
if: always()
shell: bash
run: |
echo "## 🔧 Post-Deployment Setup Summary" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Field | Value |" >> $GITHUB_STEP_SUMMARY
echo "|-------|--------|" >> $GITHUB_STEP_SUMMARY
echo "| **Job Status** | ${{ job.status == 'success' && '✅ Success' || '❌ Failed' }} |" >> $GITHUB_STEP_SUMMARY
echo "| **Resource Group** | \`${{ inputs.RESOURCE_GROUP_NAME }}\` |" >> $GITHUB_STEP_SUMMARY

- name: Logout from Azure
if: always()
shell: bash
run: |
az logout || true
echo "Logged out from Azure."
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ on:
- '.github/workflows/tests.yml'
pull_request:
branches: [main, dev, demo]
paths:
- 'code/**'
- 'pyproject.toml'
- 'package.json'
- 'pytest.ini'
- '.github/workflows/tests.yml'
types:
- opened
- ready_for_review
Expand Down
108 changes: 108 additions & 0 deletions .github/workflows/validate-bicep-params.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: Validate Bicep Parameters

permissions:
contents: read

on:
schedule:
- cron: '30 6 * * 3' # Wednesday 12:00 PM IST (6:30 AM UTC)
pull_request:
branches:
- main
- dev
paths:
- 'infra/**/*.bicep'
- 'infra/**/*.parameters.json'
- 'scripts/validate_bicep_params.py'
workflow_dispatch:

env:
accelerator_name: "CWYD"

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Validate infra/ parameters
id: validate_infra
continue-on-error: true
run: |
set +e
python scripts/validate_bicep_params.py --dir infra --strict --no-color --json-output infra_results.json 2>&1 | tee infra_output.txt
EXIT_CODE=${PIPESTATUS[0]}
set -e
echo "## Infra Param Validation" >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
cat infra_output.txt >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
exit $EXIT_CODE

- name: Set overall result
id: result
run: |
if [[ "${{ steps.validate_infra.outcome }}" == "failure" ]]; then
echo "status=failure" >> "$GITHUB_OUTPUT"
else
echo "status=success" >> "$GITHUB_OUTPUT"
fi

- name: Upload validation results
if: always()
uses: actions/upload-artifact@v4
with:
name: bicep-validation-results
path: |
infra_results.json
retention-days: 30

- name: Send schedule notification on failure
if: github.event_name == 'schedule' && steps.result.outputs.status == 'failure'
env:
LOGICAPP_URL: ${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_RUN_ID: ${{ github.run_id }}
ACCELERATOR_NAME: ${{ env.accelerator_name }}
run: |
RUN_URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
INFRA_OUTPUT=$(sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g' infra_output.txt)

jq -n \
--arg name "${ACCELERATOR_NAME}" \
--arg infra "$INFRA_OUTPUT" \
--arg url "$RUN_URL" \
'{subject: ("Bicep Parameter Validation Report - " + $name + " - Issues Detected"), body: ("<p>Dear Team,</p><p>The scheduled <strong>Bicep Parameter Validation</strong> for <strong>" + $name + "</strong> has detected parameter mapping errors.</p><p><strong>infra/ Results:</strong></p><pre>" + $infra + "</pre><p><strong>Run URL:</strong> <a href=\"" + $url + "\">" + $url + "</a></p><p>Please fix the parameter mapping issues at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>")}' \
| curl -X POST "${LOGICAPP_URL}" \
-H "Content-Type: application/json" \
-d @- || echo "Failed to send notification"

- name: Send schedule notification on success
if: github.event_name == 'schedule' && steps.result.outputs.status == 'success'
env:
LOGICAPP_URL: ${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_RUN_ID: ${{ github.run_id }}
ACCELERATOR_NAME: ${{ env.accelerator_name }}
run: |
RUN_URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
INFRA_OUTPUT=$(sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g' infra_output.txt)

jq -n \
--arg name "${ACCELERATOR_NAME}" \
--arg infra "$INFRA_OUTPUT" \
--arg url "$RUN_URL" \
'{subject: ("Bicep Parameter Validation Report - " + $name + " - Passed"), body: ("<p>Dear Team,</p><p>The scheduled <strong>Bicep Parameter Validation</strong> for <strong>" + $name + "</strong> has completed successfully. All parameter mappings are valid.</p><p><strong>infra/ Results:</strong></p><pre>" + $infra + "</pre><p><strong>Run URL:</strong> <a href=\"" + $url + "\">" + $url + "</a></p><p>Best regards,<br>Your Automation Team</p>")}' \
| curl -X POST "${LOGICAPP_URL}" \
-H "Content-Type: application/json" \
-d @- || echo "Failed to send notification"

- name: Fail if errors found
if: steps.result.outputs.status == 'failure'
run: exit 1
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,18 @@ Select either "PostgreSQL" or "Cosmos DB":
![Solution Architecture - DB Selection](/docs/images/db_selection.png)


When Deployment is complete, follow steps in [Set Up Authentication in Azure App Service](./docs/azure_app_service_auth_setup.md) to add app authentication to your web app running on Azure App Service
**When Deployment is complete:**

1. Run the post-deployment setup script to configure the Function App client key and create PostgreSQL tables (if applicable). Open [Azure Cloud Shell](https://shell.azure.com) (Bash) and run:

```bash
az login
git clone https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator.git
cd chat-with-your-data-solution-accelerator
bash scripts/post_deployment_setup.sh "<your-resource-group-name>"
```

2. Follow steps in [Set Up Authentication in Azure App Service](./docs/azure_app_service_auth_setup.md) to add app authentication to your web app running on Azure App Service

**Note**: The default configuration deploys an OpenAI Model "gpt-4.1" with version 2025-04-14. However, not all
locations support this version. If you're deploying to a location that doesn't support version 2024-05-13, you'll need to
Expand Down Expand Up @@ -266,7 +277,7 @@ Check out similar solution accelerators
| [AI&nbsp;playbook](https://learn.microsoft.com/en-us/ai/playbook/) | The Artificial Intelligence (AI) Playbook provides enterprise software engineers with solutions, capabilities, and code developed to solve real-world AI problems. |
| [Data&nbsp;playbook](https://learn.microsoft.com/en-us/data-engineering/playbook/understanding-data-playbook) | The data playbook provides enterprise software engineers with solutions which contain code developed to solve real-world problems. Everything in the playbook is developed with, and validated by, some of Microsoft's largest and most influential customers and partners. |

<br/>
<br/>

### Resource links

Expand Down
Loading
Loading