Skip to content

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

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

2024-12-09: Media description with Azure Content Understanding

09 Dec 18:45
0bb3f95
Compare
Choose a tag to compare

This release adds a new optional feature for data ingestion that sends each figure in a document to Azure Content Understanding to generate a description. This is an alternative approach to our vision approach for handling documents with images, though it could even be used in conjunction with it.

For example, for this document:
Screenshot 2024-12-09 at 10 48 44 AM

The graph is replaced by this description:
Screenshot 2024-12-09 at 10 50 52 AM

The description is stored as HTML in the chunk, for maximal expressivity:

  <figure>
   <figcaption>Impact of Interest Rates, Inflation, and GDP Growth on Financial Markets<br>
   The line graph titled 'On Financial Markets' displays trends in Interest Rates, Inflation Data, and GDP Growth from 2018 to 2023. The x-axis represents the years, while the y-axis shows percentage values ranging from -5 to 5. Interest Rates start at 2% in 2018, dip to 1% in 2020, and rise to 2% by 2023. Inflation Data begins at 2%, peaks at 3% in 2022, and slightly decreases to 2.5% in 2023. GDP Growth shows a significant drop to -4% in 2020, recovers to 3% in 2021, and stabilizes at 2% by 2023.
    <table>
      <thead>
        <tr>
          <td>Year</td>
          <td>Interest Rates %</td>
          <td>Inflation Data %</td>
          <td>GDP Growth %</td>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>2018</td>
          <td>2</td>
          <td>2</td>
          <td>2</td>
        </tr>
        <tr>
          <td>2019</td>
          <td>2</td>
          <td>2.5</td>
          <td>1</td>
        </tr>
        <tr>
          <td>2020</td>
          <td>1</td>
          <td>1.5</td>
          <td>-4</td>
        </tr>
        <tr>
          <td>2021</td>
          <td>1.5</td>
          <td>2</td>
          <td>3</td>
        </tr>
        <tr>
          <td>2022</td>
          <td>2</td>
          <td>3</td>
          <td>2</td>
        </tr>
        <tr>
          <td>2023</td>
          <td>2</td>
          <td>2.</td>
        </tr>
      </tbody>
    </table></figure>

See the doc for enabling the feature:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#enabling-media-description-with-azure-content-understanding

Please try it out and give feedback.

What's Changed

  • Add media description feature using Azure Content Understanding by @pamelafox in #2195

Full Changelog: 2024-12-02...2024-12-09

2024-12-02: Use built-in auth for Azure Container Apps

02 Dec 22:12
e90920f
Compare
Choose a tag to compare

This release configures built-in auth for Azure Container Apps deployments when you enable the user login feature. Previously, we only supported built-in auth for App Service, so user login was handled entirely by the MSAL SDK for Azure Container Apps. Now, with built-in auth on ACA, the user will be prompted to login before they ever see the chat application, and the frontend will reuse the tokens from the built-in auth service.

If you have an already deployed app on Container Apps using the login feature, you may want to ask users to clear their localStorage and cookies to get the new login experience.

Here are screenshots of the new login experience-

Visiting the URL immediately redirects to the auth tenant login screen:
Screenshot 2024-12-02 at 2 10 15 PM

After successful login, it redirects back to the app, and the user sees their logged in email:
Screenshot 2024-12-02 at 2 10 33 PM

What's Changed

New Contributors

Full Changelog: 2024-11-19b...2024-12-02

2024-11-19b: Turkish translations

19 Nov 22:59
194876a
Compare
Choose a tag to compare

The app UI now has Turkish translations. A user will see the Turkish if their browser defaults to that language, or they can select Turkish from the language picker if you have enabled the optional language picker.

Screenshot of Turkish UI

What's Changed

New Contributors

Full Changelog: 2024-11-19...2024-11-19b