Skip to content

Releases: Azure-Samples/azure-search-openai-demo

Container apps deployment now allows scaling to zero

21 Mar 22:24
88f987e
Compare
Choose a tag to compare

To lower costs for developers experimenting, we've adjusted the scaling rules for the container apps deployment. See the productionizing guide for tips of what to change if you're preparing code based on this repository for production:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/productionizing.md#azure-container-apps

What's Changed

Full Changelog: 2025-03-19...2025-03-21

2025-03-19: Query rewriting from Azure AI Search

19 Mar 23:44
62f8b58
Compare
Choose a tag to compare

This release adds a new optional feature, the query rewriting option from Azure AI Search. This is distinct from the already existing query rewriting step in our RAG flows, which incorporates conversation history. The query rewriting from Azure AI Search focuses on expanding the query to semantically similar queries that can improve retrieval.

Learn more from the search team in this blog post:
https://techcommunity.microsoft.com/blog/azure-ai-services-blog/raising-the-bar-for-rag-excellence-query-rewriting-and-new-semantic-ranker/4302729

Enable the feature following the documentation:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#enabling-query-rewriting

What's Changed

New Contributors

Full Changelog: 2025-02-20...2025-03-19

2025-02-20: Safety evaluations

20 Feb 19:41
31ea846
Compare
Choose a tag to compare

This project now includes optional AI Safety evaluations, using an Azure AI Project and the Azure Azure AI evaluation SDK.
See documentation for instructons on running the evaluations.

What's Changed

  • Upgrading openai and removing numpy dependency by @pamelafox in #2362
  • Bump Azure/setup-azd from 2.0.0 to 2.1.0 in the github-actions group by @dependabot in #2366
  • AI Safety evaluations (with AI Project provisioning) by @pamelafox in #2370

Full Changelog: 2025-02-13...2025-02-20

2025-02-13: Italian localization

14 Feb 06:57
efbf397
Compare
Choose a tag to compare

The UI is now available in Italian, so the text will display in Italian if the user's browser is configured accordingly, or if the app has the language picker enabled and the user picks italian.

Screenshot of RAG chat app in Italian

What's Changed

New Contributors

Full Changelog: 2025-02-11...2025-02-13

2025-02-11: Evaluation scripts and workflow

11 Feb 08:19
e873ba9
Compare
Choose a tag to compare

For a long time, we've directed developers to follow the steps in ai-rag-chat-evaluator to run evaluations on this app. To make it easier, we've now integrated evaluation directly into the repository, both as CLI scripts and GitHub Actions workflow.

Learn more from the evaluation guide or watch this video about evaluation.

What's Changed

New Contributors

Full Changelog: 2025-02-07...2025-02-11

2025-02-07: Upgrade gpt-35-turbo to 0125

08 Feb 01:40
d277675
Compare
Choose a tag to compare

Due to the impending deprecation of old gpt-35-turbo models, we upgraded our default version to 0125, the only remaining supported version. We will likely soon change the gpt-35-turbo to gpt-4o-mini, pending some evaluations.

What's Changed

Full Changelog: 2025-01-29b...2025-02-07

2025-01-29b: New database schema for Cosmos DB

29 Jan 22:53
7a2044a
Compare
Choose a tag to compare

This release improves the database schema for the Cosmos DB chat history feature, based on discussions with the Cosmos DB team about avoiding excessively large document sizes. This is a breaking change, so if you already have the feature deployed, you'll need to do a full azd up to create the new container and deploy the new code, and users will not see past chat history.

If you want to migrate the past chat history to the new schema before deploying the change, please file an issue in the tracker, and we will write a migration script from the new container to the older container.

 ## What's Changed

  • Improve schema of CosmosDB chat history to handle long conversations by @pamelafox in #2312

Full Changelog: 2025-01-29a...2025-01-29b

2025-01-29a: More options to customize OpenAI deployments

29 Jan 21:02
a891ab3
Compare
Choose a tag to compare

This release contains various bug fixes, plus two new environment variables for controlling Azure OpenAI deployments:

  • AZURE_OPENAI_DISABLE_KEYS (which defaults to true, since this repository uses keyless authentication)
  • AZURE_OPENAI_LOCATION for programmatically setting the OpenAI resource location, helpful for those of you using an existing Azure OpenAI resource.

See docs for more details.

What's Changed

Full Changelog: 2025-01-14...2025-01-29a

2025-01-14: Use Prompty for prompt management

14 Jan 21:36
3629df8
Compare
Choose a tag to compare

This release uses Prompty (https://prompty.ai/) to store prompts, instead of storing them in Python strings.

All prompts are inside prompty files, stored in app/backend/approaches/prompts. The prompty file format has good support in the Microsoft ecosystem: you can use the VS Code Prompty extension to experiment with the prompts, and you can even upload the prompty files to the Chat playground in Azure AI Foundry.

Screenshot of Prompty file in VS Code

This is a significant code change, so merge carefully. You will want to change your prompty files to match any customizations you made to your app's prompts.

Join us for tomorrow's live stream to learn more:
https://www.youtube.com/watch?v=D3slfMqydHc

What's Changed

Full Changelog: 2025-01-13...2025-01-14

2025-01-13: Python 3.13 support

13 Jan 22:32
5f898db
Compare
Choose a tag to compare

This release includes a number of dependency upgrades. Those upgrades mean you should now be able to use Python 3.13 for the local development environment on Mac, Windows, or Linux.

What's Changed

New Contributors

Full Changelog: 2024-12-09...2025-01-13