Skip to content
Draft

Dev v2 #2266

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
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
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)
Jun 11, 2025
7f4a427
feat: EXP Changes to reuse existing resource group and Log analytics …
Jun 11, 2025
74e1d6c
feat: rebuilt main.json
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)
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)
Sep 24, 2025
de608a2
fix: Updated accelerator name
Sep 24, 2025
da653ef
fix: Updated the default token limit
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)
Nov 24, 2025
109c406
chore: Resolved conflicts (#1973)
Nov 24, 2025
40d33a6
Merge remote-tracking branch 'origin/dev' into resolve-conflict
Nov 24, 2025
2c511f5
chore: Resolve conflict (#1975)
Nov 24, 2025
64adabe
Merge branch 'resolve-conflict' into dev
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
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)
Jan 15, 2026
dbd7887
Merge branch 'readme-updates' into dev
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
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
66f45ca
Project moved to src/; add FastAPI and Admin UI
Fr4nc3 Apr 6, 2026
d75d624
Merge branch 'dev' into feature/fr-cwyd-2026-apr
Fr4nc3 Apr 6, 2026
42e37d9
Implement orchestrator and BYOD flows; add config
Fr4nc3 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
63ecc68
Reorganize repo into v2/ and remove admin UI
Fr4nc3 Apr 15, 2026
04093ed
Add v2 development plan proposal
Fr4nc3 Apr 15, 2026
51b0c77
ci: Added post-deployment workflow and script execution logic (#2168)
Vamshi-Microsoft Apr 16, 2026
cf2fb7e
Add backend requirements and update azure export
Fr4nc3 Apr 19, 2026
c8b1faf
Merge branch 'dev' into feature/fr-cwyd-2026-apr
Fr4nc3 Apr 20, 2026
ebe3d4e
feat: improve application insights logging and telemetry handling (#2…
AjitPadhi-Microsoft Apr 21, 2026
9a89ab9
fix: dependabot libs updated (#2174)
AjitPadhi-Microsoft Apr 21, 2026
e282614
Revise v2 development plan and add plan docs
Fr4nc3 Apr 21, 2026
3189477
Add v2 business-cases doc and update planning docs
Fr4nc3 Apr 21, 2026
936d4b0
Add CONVERSATION_FLOW docs for Custom and BYOD
Fr4nc3 Apr 21, 2026
5a2f49e
Add CWYD v2 workflow, agents, and dev assets
Fr4nc3 Apr 23, 2026
6631435
fix: AVM and Bicep versions update (#2181)
Akhileswara-Microsoft Apr 24, 2026
8555d49
fix: local deployment setup (#2182)
Priyanka-Microsoft Apr 24, 2026
2854390
fix: Dev Main Conflict fix (#2186)
AjitPadhi-Microsoft Apr 27, 2026
db55403
Merge branch 'main' into dev
Roopan-Microsoft Apr 27, 2026
977ed77
fix: Dev main conflict (#2187)
AjitPadhi-Microsoft Apr 27, 2026
86931b3
resolved conflicts
Roopan-Microsoft Apr 27, 2026
3ad5d86
Merge branches 'dev' and 'dev' of https://github.com/Azure-Samples/ch…
Roopan-Microsoft Apr 27, 2026
6965316
fix: temporarily enable public access for Form Recognizer and Content…
Abdul-Microsoft Apr 30, 2026
e53460a
fix: install latest bicep via CLI (#2190)
AjitPadhi-Microsoft May 4, 2026
d4c58c8
feat: update managed identity configurations and enhance web security…
Akhileswara-Microsoft May 4, 2026
b370dd3
fix: Dev pipeline issue fix (#2204)
AjitPadhi-Microsoft May 5, 2026
50906bc
revert: reverted avm module version update (#2205)
AjitPadhi-Microsoft May 5, 2026
e4b6a1a
fix: prevent federated SP token expiry in post-deployment PostgreSQL …
Vamshi-Microsoft May 6, 2026
bc8d90c
docs: Update App Registration screenshots with latest Azure portal UI…
Thanusree-Microsoft May 6, 2026
22bdf46
fix: prevent unnecessary /api/speech calls causing 500 errors (#2201)
Priyanka-Microsoft May 7, 2026
5a3fb46
fix: Speech service API issue fixed (#2202)
AjitPadhi-Microsoft May 7, 2026
4c36e36
chore: code cleanup (#2200)
Ayaz-Microsoft May 7, 2026
fa7aef0
chore: Bicep Parameter validation email format change (#2212)
NirajC-Microsoft May 8, 2026
84fb40a
docs: Add Bicep CLI (v0.33.0+) to local deployment prerequisites (#2208)
Rafi-Microsoft May 8, 2026
6e75f4e
chore: remove unused deployment scripts and update AVM post-deploymen…
Abdul-Microsoft May 11, 2026
fc01b4d
fix: Down merge main to dev (#2216)
AjitPadhi-Microsoft May 11, 2026
66559db
fix: Conflict dev fix (#2218)
AjitPadhi-Microsoft May 11, 2026
cf8a29f
Merge branch 'main' into dev
Roopan-Microsoft May 11, 2026
327ea35
main.json recreated
Roopan-Microsoft May 11, 2026
79f6852
fix: fixed ServiceUnavailable errors in Post Deployment Script when e…
Vamshi-Microsoft May 13, 2026
b3a79f4
test: cwyd test automation added retry attempts (#2223)
Ritesh-Microsoft May 14, 2026
6d87cda
fix: add Type tag for resource grouping based on private networking …
Akhileswara-Microsoft May 18, 2026
178507a
fix: update enablePrivateNetworking parameter to use dynamic value (#…
Ayaz-Microsoft May 18, 2026
6bb11b1
fix: teams app is not responding (#2229)
Priyanka-Microsoft May 19, 2026
d6b3bdf
Feature/fr cwyd 2026 apr (#2234)
Fr4nc3 May 20, 2026
798b45b
feat: Enhance email template, add RG owner tag, scalability input (#2…
Vamshi-Microsoft May 21, 2026
8501440
build: Upgrade dependabots packages (#2238)
AjitPadhi-Microsoft May 21, 2026
365eb79
feat: enable end-to-end TLS encryption for App Services and add Data …
Ayaz-Microsoft May 21, 2026
873ce0c
fix: update OpenAI functions system prompt to handle greetings (#2241)
Harsh-Microsoft May 26, 2026
ca2f774
Merge branch 'main' into dev
Roopan-Microsoft May 26, 2026
93952de
updated main.json
Roopan-Microsoft May 26, 2026
e0608a7
ci: Added template validation pipeline (#2240)
AjitPadhi-Microsoft May 29, 2026
b2ab3b7
Merge branch 'main' into dev
Roopan-Microsoft Jun 3, 2026
c25c516
Merge branch 'dev' of https://github.com/Azure-Samples/chat-with-your…
Roopan-Microsoft Jun 3, 2026
ff437a2
Feature/fr cwyd 2026 apr (#2252)
Fr4nc3 Jun 6, 2026
7b83d80
Feature/cwyd v2 6626 (#2254)
Fr4nc3 Jun 14, 2026
55f85e2
Feature/cwyd v2 6626 (#2255)
Fr4nc3 Jun 15, 2026
4282263
Feature/cwyd v2 6626 (#2256)
Fr4nc3 Jun 16, 2026
6d35c0e
chore: Replace roleDefinitionIdOrName value with ID for all (#2258)
chaudhariniraj Jun 16, 2026
cdb289c
Feature/cwyd v2 6626 (#2261)
Fr4nc3 Jun 17, 2026
7a03c4f
Feature/cwyd v2 6626 (#2267)
Fr4nc3 Jun 22, 2026
83696a7
fix: PostgreSQL Post-Deployment Script Issue (#2271)
AbdulMujeeb-2000 Jun 23, 2026
a1ac841
fix: add Azure CLI installation prerequisite to local deployment guid…
AbdulMujeeb-2000 Jun 24, 2026
47d8e8a
Feature/cwyd v2 6626 (#2276)
Fr4nc3 Jun 25, 2026
8662116
chore: add temporary commit to trigger CI pipeline (#2278)
AbdulMujeeb-2000 Jun 25, 2026
e3043f6
chore: Down merge to dev (#2286)
Jun 27, 2026
29ab3e9
Merge branch 'main' into dev
Avijit-Microsoft Jun 29, 2026
dd567e6
Feature/cwyd v2 6626 (#2293)
Fr4nc3 Jul 3, 2026
5d7bd84
Feature/cwyd v2 6626 (#2294)
Fr4nc3 Jul 3, 2026
996a2a3
Feature/cwyd v2 6626 (#2295)
Fr4nc3 Jul 4, 2026
8966b1f
Feature/cwyd v2 6626 (#2296)
Fr4nc3 Jul 4, 2026
82c27eb
Feature/cwyd v2 6626 (#2297)
Fr4nc3 Jul 5, 2026
d1b9c71
Feature/cwyd v2 6626 (#2299)
Fr4nc3 Jul 6, 2026
f562e64
feat: Infra Module restructure (#2304)
PadhiAjit-Microsoft Jul 13, 2026
459ab0c
fix: CWYD V2 conflict fix (#2307)
PadhiAjit-Microsoft Jul 13, 2026
05d79ad
Merge branch 'dev' into dev-v2
Roopan-Microsoft Jul 13, 2026
7ec0bdc
updated bicep and main.json
Roopan-Microsoft Jul 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
200 changes: 118 additions & 82 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,84 +1,120 @@
# Azure Search for storing the processed documents
AZURE_SEARCH_SERVICE=
AZURE_SEARCH_INDEX=
AZURE_SEARCH_KEY=
AZURE_SEARCH_USE_SEMANTIC_SEARCH=False
AZURE_SEARCH_SEMANTIC_SEARCH_CONFIG=default
AZURE_SEARCH_TOP_K=5
AZURE_SEARCH_ENABLE_IN_DOMAIN=False
AZURE_SEARCH_FIELDS_ID=id
AZURE_SEARCH_CONTENT_COLUMN=content
AZURE_SEARCH_CONTENT_VECTOR_COLUMN=content_vector
AZURE_SEARCH_DIMENSIONS=1536
AZURE_SEARCH_FIELDS_TAG=tag
AZURE_SEARCH_FIELDS_METADATA=metadata
AZURE_SEARCH_FILENAME_COLUMN=filepath
AZURE_SEARCH_TITLE_COLUMN=title
AZURE_SEARCH_SOURCE_COLUMN=source
AZURE_SEARCH_TEXT_COLUMN=text
AZURE_SEARCH_LAYOUT_TEXT_COLUMN=layoutText
AZURE_SEARCH_URL_COLUMN=url
AZURE_SEARCH_CONVERSATIONS_LOG_INDEX=conversations-log
AZURE_SEARCH_USE_INTEGRATED_VECTORIZATION=false
AZURE_SEARCH_INDEXER_NAME=
AZURE_SEARCH_DATASOURCE_NAME=
# Azure OpenAI for generating the answer and computing the embedding of the documents
AZURE_OPENAI_RESOURCE=
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_MODEL=gpt-4o
AZURE_OPENAI_MODEL_NAME=gpt-4o
AZURE_OPENAI_EMBEDDING_MODEL=text-embedding-3-small
AZURE_OPENAI_TEMPERATURE=0
AZURE_OPENAI_TOP_P=1.0
AZURE_OPENAI_MAX_TOKENS=1000
AZURE_OPENAI_STOP_SEQUENCE=
AZURE_OPENAI_SYSTEM_MESSAGE=You are an AI assistant that helps people find information.
AZURE_OPENAI_API_VERSION=2024-02-01
AZURE_OPENAI_STREAM=True
# Backend for processing the documents and application logging in the app
AzureWebJobsStorage=
BACKEND_URL=http://localhost:7071
# CWYD v2 local dev environment template.
#
# Copy to .env (gitignored) and fill in values for any external services you
# want to hit. Every variable name below matches the canonical AppSettings field
# in src/backend/core/settings.py and the corresponding Bicep output in
# infra/main.bicep -- no v1 aliases. Pydantic-settings ignores unknown
# variables, so a typo here silently does nothing; double-check spelling.
#
# Single source of truth at repo root (CU-008a, 2026-05-05). The previous
# docker/.env.dev.example file was deleted; do not recreate it.
#
# Defaults: docker-compose.dev.yml hard-codes the local stack (azurite + a
# pgvector-enabled postgres container) by overriding AZURE_DB_TYPE,
# AZURE_INDEX_STORE, AZURE_POSTGRES_ENDPOINT, AZURE_STORAGE_BLOB_URL, and
# AZURE_STORAGE_QUEUE_URL on the backend service. Setting those four here has
# no effect on the default profile -- only matters if you override compose.

# Enhanced logging configuration (optional)
LOGLEVEL=INFO
PACKAGE_LOGGING_LEVEL=WARNING
# AZURE_LOGGING_PACKAGES=azure.core,azure.identity
DOCUMENT_PROCESSING_QUEUE_NAME=
AZURE_BLOB_ACCOUNT_NAME=
AZURE_BLOB_ACCOUNT_KEY=
AZURE_BLOB_CONTAINER_NAME=
# Azure Form Recognizer for extracting the text from the documents
AZURE_FORM_RECOGNIZER_ENDPOINT=
AZURE_FORM_RECOGNIZER_KEY=
# Azure AI Content Safety for filtering out the inappropriate questions or answers
AZURE_CONTENT_SAFETY_ENDPOINT=
AZURE_CONTENT_SAFETY_KEY=
# Orchestration strategy. Use Azure OpenAI Functions (openai_function), Semantic Kernel (semantic_kernel), LangChain (langchain) or Prompt Flow (prompt_flow) for messages orchestration. If you are using a new model version 0613 select any strategy, if you are using a 0314 model version select "langchain". Note that both `openai_function` and `semantic_kernel` use OpenAI function calling.
ORCHESTRATION_STRATEGY=openai_function
# If selected Prompt Flow as orchestration strategy, please provide the following environment variables. Note that Prompt Flow does not support RBAC authentication currently.
AZURE_ML_WORKSPACE_NAME=
PROMPT_FLOW_DEPLOYMENT_NAME=
PROMPT_FLOW_ENDPOINT_NAME=
#Speech-to-text feature
AZURE_SPEECH_SERVICE_KEY=
# --- Azure AI / Foundry IQ (required for real LLM calls; mocked otherwise) ---
# FoundrySettings.services_endpoint -- host of the unified AI Services account
# (kind=AIServices). Drives the Document Intelligence ingestion parser
# (Functions batch_push) and the Foundry IQ embeddings client. MUST be a
# non-empty https:// URL or PDF/DOCX ingestion fails fast with an actionable
# error (BUG-0034). Bicep output: AZURE_AI_SERVICES_ENDPOINT in infra/main.bicep.
AZURE_AI_SERVICES_ENDPOINT=
# FoundrySettings.project_endpoint -- Agent Framework + LangGraph both use this.
AZURE_AI_PROJECT_ENDPOINT=
# OpenAISettings.* -- model deployment names exposed via the Foundry account.
AZURE_OPENAI_GPT_DEPLOYMENT=gpt-5.1
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-large
AZURE_OPENAI_API_VERSION=2024-12-01-preview

# --- Azure AI Search (cosmosdb-mode only; ignored in pgvector dev default) ---
# SearchSettings.endpoint -- full https URL of the search service.
AZURE_AI_SEARCH_ENDPOINT=
AZURE_AI_SEARCH_INDEX=cwyd-index
# SearchSettings.knowledge_base_* -- Foundry IQ Knowledge Base over the index
# (grounds the agent_framework orchestrator). The KB REST API version is pinned
# here so it can be bumped without a code change.
AZURE_AI_SEARCH_KNOWLEDGE_BASE_NAME=cwyd-kb
AZURE_AI_SEARCH_KNOWLEDGE_SOURCE_NAME=cwyd-index-ks
AZURE_AI_SEARCH_KNOWLEDGE_BASE_API_VERSION=2025-11-01-preview

# --- Identity (optional locally; uses AzureCliCredential when unset) ---
# IdentitySettings.* -- AppSettings reads AZURE_TENANT_ID + AZURE_UAMI_CLIENT_ID.
AZURE_TENANT_ID=
AZURE_UAMI_CLIENT_ID=

# --- Orchestrator selection (runtime-tunable; CWYD_ namespace by design) ---
# OrchestratorSettings.name -- "langgraph" or "agent_framework". Both
# orchestrators ground on either index store and are switchable from the admin
# UI without a redeploy. On pgvector (AZURE_DB_TYPE=postgresql) both run
# app-side RAG over the pgvector index; on Azure AI Search (cosmosdb mode)
# agent_framework additionally grounds on a Foundry IQ Knowledge Base over that
# index, while langgraph runs client-side RAG. ADR 0027 supersedes the ADR 0022
# pgvector + agent_framework block, so neither pairing is rejected. The local
# dev compose default database is pgvector.
CWYD_ORCHESTRATOR_NAME=agent_framework
#
# Foundry agent identity is NOT configured here (CU-009, ADR 0008).
# Agents are bootstrapped lazily on first request and cached in the
# application database (Cosmos in cosmosdb mode, Postgres in postgresql
# mode). To force re-creation, delete the row in the `agents` table.
# See v2/docs/agents.md for details.

# --- Observability ---
# ObservabilitySettings.log_level -- AppSettings env_prefix is AZURE_, so the
# var name is AZURE_LOG_LEVEL (bare LOG_LEVEL in v1 is silently ignored).
AZURE_LOG_LEVEL=INFO
# ObservabilitySettings.app_insights_connection_string -- when set,
# azure-monitor-opentelemetry exports directly to App Insights. AppSettings
# reads the AZURE_-prefixed name (env_prefix=AZURE_); the legacy bare
# `APPLICATIONINSIGHTS_CONNECTION_STRING` is intentionally not honored
# post-CU-002b -- use the typed name only.
AZURE_APP_INSIGHTS_CONNECTION_STRING=

# --- Backend HTTP (CORS, etc.) ---
# Comma-separated list of allowed origins for the FastAPI CORSMiddleware.
# Wired into NetworkSettings.cors_origins via CU-002.
BACKEND_CORS_ORIGINS=http://localhost:5173

# --- Speech-to-text (S1 / SPEECH-MVP, optional) ---
# Populate to enable the `/api/speech` route used by the browser
# microphone button. Empty -> route returns 503 (feature disabled).
# AAD-only: the workload identity (UAMI in production, AzureCli /
# DefaultAzureCredential locally) must hold `Cognitive Services Speech
# User` on the Speech account. NO subscription key (Hard Rule #2).
AZURE_SPEECH_SERVICE_NAME=
AZURE_SPEECH_SERVICE_REGION=
# Auth type environment variables.
# When AZURE_AUTH_TYPE=rbac, please make sure variable USE_KEY_VAULT=false
# When USE_KEY_VAULT=true, please make sure to set AZURE_KEY_VAULT_ENDPOINT
AZURE_AUTH_TYPE=keys
USE_KEY_VAULT=true
AZURE_KEY_VAULT_ENDPOINT=
# Application environment (e.g., dev, prod)
APP_ENV="dev"
# Chat conversation type to decide between custom or byod (bring your own data) conversation type
CONVERSATION_FLOW=
# Chat History CosmosDB Integration Settings
AZURE_COSMOSDB_ACCOUNT_NAME=
AZURE_COSMOSDB_ACCOUNT_KEY=
AZURE_COSMOSDB_DATABASE_NAME=
AZURE_COSMOSDB_CONVERSATIONS_CONTAINER_NAME=
AZURE_COSMOSDB_ENABLE_FEEDBACK=
AZURE_POSTGRESQL_HOST_NAME=
AZURE_POSTGRESQL_DATABASE_NAME=
AZURE_POSTGRESQL_USER=
DATABASE_TYPE="CosmosDB"
# Full ARM resource id of the Speech account; goes in the
# `x-ms-cognitiveservices-resource-id` header during AAD token mint.
AZURE_SPEECH_ACCOUNT_RESOURCE_ID=
# Comma-separated BCP-47 language tags the recognizer auto-detects.
AZURE_SPEECH_RECOGNIZER_LANGUAGES=en-US,fr-FR,de-DE,it-IT

# --- Content Safety (PARITY-IMPL, optional) ---
# Wires the prompt-shielding guard the chat pipeline runs before every
# Foundry IQ call (`ContentSafetyGuard.screen()` posts to the
# `AnalyzeText` REST endpoint). Empty endpoint -> lifespan leaves
# `app.state.content_safety_client = None` and `get_content_safety_guard`
# returns None so the pipeline runs unguarded (mirrors v1
# `enable_content_safety: false` default).
# AAD-only: the workload identity must hold `Cognitive Services User`
# (a97b65f3-24c7-4388-baec-2e87135dc908) on the account. NO
# subscription key (Hard Rule #2).
AZURE_CONTENT_SAFETY_ENDPOINT=
# Defaults to true (secure-by-default). Both `enabled=true` AND a
# non-empty endpoint are required to construct the client at lifespan
# start, so this stays inert until AZURE_CONTENT_SAFETY_ENDPOINT is
# set above. Operators flip the guard OFF per-request via
# `PATCH /api/admin/config {"content_safety_enabled": false}`
# (`RuntimeConfig` override; `false` short-circuits to None even when
# the lifespan client is present).
AZURE_CONTENT_SAFETY_ENABLED=true
# Inclusive lower bound at which Content Safety verdicts trip. Azure
# reports severity 0/2/4/6 (0=safe, 2=low, 4=medium, 6=high); default
# 4 matches v1's `enable_content_safety: true` behavior. Range 0-7.
AZURE_CONTENT_SAFETY_SEVERITY_THRESHOLD=4

# --- Frontend (consumed by the frontend container build) ---
VITE_BACKEND_URL=http://localhost:8000
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
max-line-length = 88
extend-ignore = E501
exclude = .venv
ignore = E203, W503
ignore = E203, W503, E704
61 changes: 61 additions & 0 deletions .github/agents/cwyd-implementer.agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
description: "Single-unit code writer for CWYD v2. Implements EXACTLY one class OR one method per invocation, plus a matching test stub. Refuses batch edits. Use when: a Work Order from cwyd-planner is ready, or the user explicitly requests one-unit implementation."
tools: ["read_file", "list_dir", "file_search", "grep_search", "semantic_search", "create_file", "replace_string_in_file", "multi_replace_string_in_file", "get_errors", "vscode_listCodeUsages", "memory", "manage_todo_list"]
---

# cwyd-implementer

You are the **implementer** for CWYD v2. You write **exactly one class OR one method** per invocation, plus a matching test stub. Nothing else.

## Required reading (every invocation)

1. The Work Order produced by `cwyd-planner` (must exist; if not, refuse and ask the user to run the planner).
2. `.github/copilot-instructions.md`
3. `.github/instructions/v2-workflow.instructions.md`
4. The per-area instruction matching the target file.
5. `v2/docs/bugs.md` + today's `v2/docs/worklog/YYYY-MM-DD.md` (durable tracking, Hard Rule #19).

## Procedure

1. Read the Work Order. Confirm scope is a single unit. If it lists more, implement only the first; flag the rest for follow-up.
2. Read the target file (or create it with the pillar/phase header if new).
3. Implement the unit:
- Add the pillar/phase docstring header if the file is new.
- Keep the public surface to what the Work Order specified.
- No "while I'm here" refactors.
4. Add or extend the test file specified in the Work Order with a **stub** that:
- Imports the new unit.
- Has the test function signatures for happy path / failure / edge case.
- Each function body is a `# TODO(cwyd-tester): <one line>` followed by a single failing `assert False, "not implemented"` so the test runner reports it as failing (not skipped).
5. Run `get_errors` on the edited files. Fix only compile/lint errors caused by your edit.
6. Report:
- File(s) edited.
- The unit's signature.
- Path to the test stub.
- Any planner assumption that turned out wrong (do not silently change scope).
7. Durable tracking (Hard Rule #19): append a one-line entry for this unit to the day's worklog `v2/docs/worklog/YYYY-MM-DD.md` under **Done**; if you discovered a defect, record it in `v2/docs/bugs.md` with the next sequential `BUG-####` id.

## Hard rules

- **One class OR one method.** Not both. Not two methods. If a class needs an `__init__` and the Work Order specifies the class, the `__init__` counts as part of that single class — but no other methods.
- **No edits outside the target file and its test file** — the sole exception is the two durable-tracking files (`v2/docs/worklog/YYYY-MM-DD.md` and `v2/docs/bugs.md`), updated per Hard Rule #19. If a *code* dependency must change, stop and request a new Work Order.
- **Pillar/phase header required** on every new file in `src/**`.
- **No banned imports** (see `v2-workflow.instructions.md`). If you find one already present in the touched file, flag it but do not fix it in this turn.
- **Do not write real test bodies.** That is `cwyd-tester`'s job.

## Refusal cases

Refuse and explain when:

- No Work Order is provided.
- The Work Order asks for more than one unit.
- The Work Order is missing a `Pillar:` declaration or a `Phase:` / dev_plan task # citation.
- The Work Order's `Structural change:` field describes a new folder/package/dependency without a `user-confirmed on <date>` note. Stop and request a planner pass to obtain user confirmation.
- The target file would require imports or refactors beyond the unit's scope.
- A banned dependency is required (see `v2-workflow.instructions.md` § Banned in v2).
- Implementing the unit would break the plug-and-play contract (backend-only or frontend-only profile would no longer boot).
- The Work Order or your implementation would add a container, sidecar, package, abstraction, or config file format **not cited from [v2/docs/development_plan.md](../../v2/docs/development_plan.md) §3.4/§4**. Stop and request a planner pass to amend the plan first. Never fall back to "how v1 did it" — v1 is the spaghetti being replaced.

## Stop condition

After the unit + test stub are saved and `get_errors` is clean, stop. Hand off to `cwyd-tester`.
Loading
Loading