Releases: Azure-Samples/azure-search-openai-demo
2024-08-30: Internationalization support for the UI
There is now an optional feature to enable a language picker in the UI:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#enabling-language-picker
This will change the language of UI messages, but not affect anything about the LLM system prompt.
As a result of this PR, all text messages for the UI are now in single files, per language, and all messages can be edited in one place. See guide here: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/customization.md#customizing-the-ui
What's Changed
- Reduce JS size by using more specific import for react-syntax-highlighter by @pamelafox in #1947
- Send down LLM messages as dictionaries in thought process by @pamelafox in #1948
- Frontend multi-language support #1690 by @bnodir in #1790
New Contributors
Full Changelog: 2024-08-23...2024-08-30
2024-08-23: Optional speech output is now on-demand
We previously would proactively load the speech output URLs when that feature was enabled. However, we received feedback that the proactive loading was wasteful. We now load only when the user clicks the speech icon, so the user will see a brief loading icon and then hear the speech play.
What's Changed
- On Demand Azure Speech Generation by @john0isaac in #1894
- Allow disabling app services auth by @mattgotteiner in #1932
- Bump the python-requirements group across 1 directory with 16 updates by @dependabot in #1924
Full Changelog: 2024-08-21...2024-08-23
2024-08-21: Markdown rendering for responses
The UI now supports rendering markdown syntax (including tables). Given that, we've removed the line from the default system prompt that said "Do not return markdown". If you want even more Markdown in responses, you may want to experiment with adding a line like "Please use Markdown to format lists, tables, headings, and emphasis."
Let us know if you have any issues with the rendering in the issue tracker.
What's Changed
- Add Markdown Render Support to GPT completions by @praveen-palanisamy in #56
New Contributors
- @praveen-palanisamy made their first contribution in #56
Full Changelog: 2024-08-20...2024-08-21
2024-08-20: Default search service SKU to basic
The significant change in this release is that the infrastructure now defaults to the basic tier. This reduces the costs for new developers experimenting with this repo. However, if you pull the changes into an existing deployment with the standard tier, you'll get an error when it tries to provision the search service. You should explicitly set the search service SKU with this command first:
azd env set AZURE_SEARCH_SERVICE_SKU standard
This release also includes a few bug fixes.
What's Changed
- Better handling of auth errors by @pamelafox in #1879
- Prevent IME-related accidental message submission on Enter key press by @KanchiShimono in #1908
- Bump @fluentui/react-components from 9.37.3 to 9.54.13 in /app/frontend by @dependabot in #1918
- Bump aiohttp from 3.10.1 to 3.10.2 in /app/backend by @dependabot in #1921
- Reduce cost by defaulting to basic tier of search service by @pamelafox in #1925
New Contributors
- @KanchiShimono made their first contribution in #1908
Full Changelog: 2024-08-08...2024-08-20
2024-08-08: GPT-4o-mini support
This release includes support for gpt-4o-mini for the chat completion requests. This support required an update to the token counting package. See instructions for switching here:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#using-gpt-4
Unfortunately, gpt-4o-mini is only in eastus, so you may need to change the location of your OpenAI resource. You can change that in .azure/ENV-NAME/config.json
What's Changed
- Upgrade openai, openai-messages-token-helper, for gpt-4o-mini support by @dependabot in #1893
Full Changelog: 2024-08-07...2024-08-08
2024-08-07: Improved logging in prod, auth package upgrade
The most significant changes of this release are:
- Improved logging in production: you should now be able to see INFO and DEBUG level logs in production, if desired, as well as the HTTP access logs.
- Migration away from the python jose package for Entra token validation, as it was no longer maintained. Only relevant if you are using the optional authentication feature.
What's Changed
- New screenshot for README file. by @zedhaque in #1853
- Fixed link to private access markdown page by @bvdboom in #1859
- Fix logging by @pamelafox in #1874
- Update README.md code block formatting by @lamtrinhdev in #1878
- Rename Azure OpenAI key environment variable by @pamelafox in #1880
- Fix broken paths by @john0isaac in #1883
- Update deploy_features.md by @YIN-Renlong in #1885
- Replace python-jose with pyjwt by @blutril in #1875
New Contributors
- @bvdboom made their first contribution in #1859
- @lamtrinhdev made their first contribution in #1878
- @YIN-Renlong made their first contribution in #1885
- @blutril made their first contribution in #1875
Full Changelog: 2024-07-22...2024-08-07
2024-07-22: Removal of VM from private network deployment
We previously included Bicep to enable the creation of a VM and Bastion for connection to a privately deployed app endpoint. However, due to security concerns around the VM enabling access to the endpoint, we've removed that option from deployment. To access the endpoint, you can instead use an Azure VPN gateway, Azure Virtual Desktop, other means of accessing the VNet, or add an allowance for your IP to the chat app's firewall.
What's Changed
- fix validation pipeline with missing files and actions by @anfibiacreativa in #1774
- Bump the python-requirements group across 1 directory with 21 updates by @dependabot in #1851
- Bump @fluentui/react-icons from 2.0.221 to 2.0.249 in /app/frontend by @dependabot in #1848
- Bump marked from 13.0.0 to 13.0.2 in /app/frontend by @dependabot in #1847
- Bump @azure/msal-react from 2.0.6 to 2.0.21 in /app/frontend by @dependabot in #1849
- Remove provisioning of VM and Bastion by @pamelafox in #1852
New Contributors
- @anfibiacreativa made their first contribution in #1774
Full Changelog: 2024-07-16...2024-07-22
2024-07-16: Seed parameter, Azure Verified Modules
This release includes:
- the addition of a seed parameter. That is particularly helpful if you are evaluating your app.
- a partial migration to Azure Verified Modules to reduce the amount of custom Bicep in this repo and inherit security best practices automatically. We will continue to migrate as many modules as possible.
- an improvement to the prepdocs script so that you can pass "--removeall" and "--remove" on the CLI. You still need to modify the script to specify the filename, however.
- a fix for the local frontend server, to address an issue with running "npm run dev" inside Dev Containers
What's Changed
- Bump typescript from 5.4.5 to 5.5.3 in /app/frontend by @dependabot in #1796
- Docs: More ideas for improving search results by @pamelafox in #1811
- Fix vite by adding host by @pamelafox in #1812
- Prepdocs: Support additional args by @mattgotteiner in #1813
- Use AVM for log analytics and application insights. by @tonybaloney in #1817
- Bump @vitejs/plugin-react from 4.1.1 to 4.3.1 in /app/frontend by @dependabot in #1757
- Add an optional seed parameter by @pamelafox in #1814
- Bump certifi from 2024.6.2 to 2024.7.4 in /app/backend by @dependabot in #1789
- Use AVM for all Cognitive Services accounts and services by @tonybaloney in #1818
Full Changelog: 2024-07-10...2024-07-16
2024-07-10: Responsive design for mobile
This release includes improved CSS and a burger menu for smaller viewport sizes, so that the app works better for mobile phones. Please test out and report any issues.
What's Changed
New Contributors
Full Changelog: 2024-07-03...2024-07-10
2024-07-03: Authentication and security improvements
The most significant change in this release is improvements to the login system to handle token refresh in the browser for users who leave the tab open for long periods of time (PR #1778). Please bring those changes in if you're using auth.
What's Changed
- Remove powershell feature by @pamelafox in #1752
- Support use of AzureOpenAI proxy by prepdocs by @pamelafox in #1760
- Fix arg specification by @pamelafox in #1761
- Set ACLs to Deny for storage by @pamelafox in #1765
- fix ruff check by @john0isaac in #1772
- Bump the python-requirements group across 1 directory with 19 updates by @dependabot in #1775
- Fix login state management by @mattgotteiner in #1778
- Make OpenAI deployment optional by @pamelafox in #1777
Full Changelog: 2024-06-20...2024-07-03