Skip to content

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

2024-04-25: Bugfixes for free sku, ADLS2, storageUrl

25 Apr 23:18
96ec028
Compare
Choose a tag to compare

Today's release includes a variety of bugfixes:

What's Changed

Full Changelog: 2024-04-19...2024-04-25

2024-04-19: Improved security for user-uploaded documents

19 Apr 14:00
0124725
Compare
Choose a tag to compare

This release improves the security of the optional user upload mechanism by adding a storageUrl field to disambiguate between user-uploaded files and admin-uploaded files with the same name. Now when running manageacl.py, you must specify the full storageUrl whose ACLs require updating.
If you have an existing search index from before this release, please follow steps in README to add the new storageUrl field and backfill it to existing chunks in the index:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#enabling-user-document-upload

What's Changed

New Contributors

Full Changelog: 2024-04-10...2024-04-19

2024-04-10: Graph SDK for auth setup

11 Apr 00:25
a2df481
Compare
Choose a tag to compare

We are now using msgraph-sdk instead of direct HTTP calls for our scripts that setup Entra application registrations. There should be no functional difference after the change.

What's Changed

Full Changelog: 2024-03-09...2024-03-10

2024-04-09: Optional user document upload feature

09 Apr 22:54
853cc72
Compare
Choose a tag to compare

The latest release includes a feature that changes the codebase significantly, the ability for users to upload documents. In order to implement this feature, we moved prepdocslib into app/backend (out of scripts). If your fork has changes in prepdocslib, you may want to merge with the commit before this feature, and then merge this commit, which only moves the files without changing them.

If you want to enable user document upload, follow the documentation at: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#enabling-user-document-upload
Note that you will need to enable user authentication as a prerequisite for user upload, since only authenticated users can upload.
⚠️ Please see these open issues regarding access control: #1531 , #1532

What's Changed

Full Changelog: 2024-03-26...2024-03-09

2024-03-26: New embedding models, more azd environment variables

26 Mar 22:46
7a7881e
Compare
Choose a tag to compare

This release includes additional ways to customize your application setup.

You can try out the new embedding models following steps here:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#using-text-embedding-3-models

You can also use environment variables to reuse existing Azure resources (which previously required a Bicep change):
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_existing.md

Please let us know if you run into any issues with the latest release by filing an issue in the issue tracker.

What's Changed

Full Changelog: 2024-03-25...2024-03-26

2024-03-25: GPT-4 environment variables

25 Mar 19:11
7595a1e
Compare
Choose a tag to compare

You can now specify your GPT model name and version entirely in the azd environment variables. See updated documentation here:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/docs/deploy_features.md#using-gpt-4

What's Changed

  • Fix search secret name environment variable for free deploys by @pamelafox in #1455
  • Allow manual setting of the OpenAI Deployment Name, Version, Capacity and Model by @john0isaac in #1386

Full Changelog: 2024-03-20...2024-03-25

2024-03-20: New settings for minimum search score for search results

20 Mar 16:13
ccf2494
Compare
Choose a tag to compare

This release includes a new feature to restrict the search results based on the minimum score, via a new option in Developer Settings and new POST parameters. You can learn more about search scoring here:
https://learn.microsoft.com/azure/search/hybrid-search-ranking#scores-in-a-hybrid-search-results
You may want to experiment with scoring thresholds if you find that the search results are not always relevant. Reminder that you can use the evaluator tools to see differences in app settings:
https://github.com/Azure-Samples/ai-rag-chat-evaluator

What's Changed

  • Update chatreadretrieveread.py (Typo "Azure Open AI"→"Azure OpenAI") by @hyoshioka0128 in #1443
  • Update retrievethenread.py (Typo "Azure Open AI"→"Azure OpenAI") by @hyoshioka0128 in #1447
  • Bump the github-actions group with 1 update by @dependabot in #1439
  • Add minimum score criteria for AI search results by @sogue in #1417

Full Changelog: 2024-03-18...2024-03-20

2024-03-18: Markdown viewer

18 Mar 14:32
0a76219
Compare
Choose a tag to compare

The code change in this release is the addition of a Markdown viewer, so that users can click on a cited markdown file and see it formatted in the browser.

What's Changed

New Contributors

Full Changelog: 2024-03-14...2024-03-18

2024-03-14: AZURE_OPENAI_API_VERSION, bug fixes

14 Mar 22:37
a45774a
Compare
Choose a tag to compare

This new release includes the ability customize the OpenAI API version via an environment variable (AZURE_OPENAI_API_VERSION) and also updates the version to the latest preview, 2024-03-01-preview. This release also includes an important bugfix in the prepdocs script, so please pull in that fix if you're getting errors with computing embeddings.

What's Changed

New Contributors

Full Changelog: 2024-03-07...2024-03-14

2024-03-07: Text parser, "Thought process" enhancements

07 Mar 20:10
68e78df
Compare
Choose a tag to compare

This release includes a simple local parser for text files (including markdown), as well as enhancements to the "Thought process" tab to show additional details about the answer flow, like search results scores and models/deployments used. We aim to add a "score threshold" in the future so that you can filter out results with too low of a score.

What's Changed

  • Add search scores, models, and deployments to "Thought process" tab, surface additional properties by @pamelafox in #1375
  • Add Markdown/Text Parser by @yuvalyaron in #1381

New Contributors

Full Changelog: 2024-03-06...2024-03-07