Releases: Azure-Samples/azure-search-openai-demo
2024-10-02: Local CSV Parser
This release adds a Python-based CSV parser which indexes each row separately.
What's Changed
- Bump vite from 4.5.3 to 5.4.8 in /app/frontend by @dependabot in #1995
- Adding CSV Parser by @saravana87 in #1996
New Contributors
- @saravana87 made their first contribution in #1996
Full Changelog: 2024-09-26...2024-10-02
2024-09-26: Improvements for local env, Deployment fix
This release fixes a recent regression in "azd up" for App Service. Please pull the azure.yaml from this release if you recently pulled down this repo and are having issues with deployment.
This release also introduces a large change to how the local scripts and server bring in configuration values from the azd deployment. Previously, the scripts would actually set the current azd environment variables in the shell environment, but that occasionally led to problems when trying to switch between azd environments. Now, all code uses the python-dotenv package to dynamically load in the current azd's environment variables, so you should be able to cleanly switch between azd environments as needed.
What's Changed
- azure.yaml improvements: remoteBuild option, prepackage for App Service by @pamelafox in #1993
- Bump rollup from 3.29.4 to 3.29.5 in /app/frontend by @dependabot in #1994
- Refactor scripts to avoid anti-patterns, redundancy by @pamelafox in #1986
- Bump dompurify and @types/dompurify in /app/frontend by @dependabot in #1983
- Bump cryptography from 43.0.0 to 43.0.1 in /app/backend by @dependabot in #1967
- Changes for easier working with local models by @pamelafox in #1992
Full Changelog: 2024-09-19...2024-09-26
2024-09-19: Optional deployment to Azure Container Apps
This release includes an option to deploy to a single container on Azure Container Apps with a Dockerfile.
If you're interested in that, please follow the guide on:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/azure_container_apps.md
Let us know if you have any issues or feedback on the option.
## What's Changed
- ignore resourceToken and migrationToken as being secure params by @tonybaloney in #1955
- Update README.md to include auth login fix for github codespaces users by @GiuseppeGalilei in #1856
- Better support for deploying to non-home tenant by @pamelafox in #1964
- Run format on main.bicep by @pamelafox in #1968
- Adlsgen2 fixes by @john-carroll-sw in #1974
- Add Azure Container Apps as a host option by @1yefuwang1 in #1952
New Contributors
- @GiuseppeGalilei made their first contribution in #1856
- @john-carroll-sw made their first contribution in #1974
- @1yefuwang1 made their first contribution in #1952
Full Changelog: 2024-08-30...2024-09-19
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