Azure-Samples / azure-search-comparison-tool

A demo app showcasing Vector Search using Azure AI Search, Azure OpenAI for text embeddings, and Azure AI Vision for image embeddings.
https://azure.microsoft.com/products/search
MIT License
67 stars 29 forks source link

Delete links and reset result cards when changing dataset #8

Closed wanglliwang closed 1 year ago

wanglliwang commented 1 year ago

Purpose

This PR deletes links in results from wikipedia dataset and resets result cards to empty when the dataset is changed.

Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[X ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Test at https://github.com/Azure/cognitive-search-vector-pr/blob/llamaindex/demo-python/code/azure-search-vector-python-llamaindex-sample.ipynb

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
run jupyter notebook cells

What to Check

Verify that the following are valid

Other Information