You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/resource-demo-sites.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.service: azure-ai-search
9
9
ms.custom:
10
10
- ignite-2023
11
11
ms.topic: conceptual
12
-
ms.date: 10/07/2024
12
+
ms.date: 12/02/2024
13
13
---
14
14
15
15
# Demos - Azure AI Search
@@ -20,5 +20,5 @@ The Azure AI Search currently builds and hosts the following demos.
20
20
21
21
| Demo name | Description | Source code |
22
22
|-----------|------------ |-------------|
23
-
|[Chat with your data](https://entgptsearch.azurewebsites.net/)| An Azure web app that uses ChatGPT in Azure OpenAI with fictitious health plan data in a search index. |[https://github.com/Azure-Samples/azure-search-openai-demo/](https://github.com/Azure-Samples/azure-search-openai-demo/)|
23
+
|[Chat with your data](https://aka.ms/officialazsdemo)| An Azure web app that uses ChatGPT in Azure OpenAI with fictitious health plan data in a search index. |[https://github.com/Azure-Samples/azure-search-openai-demo/](https://github.com/Azure-Samples/azure-search-openai-demo/)|
24
24
|[Semantic ranking for retail](https://brave-meadow-0f59c9b1e.1.azurestaticapps.net/)| Web app for a fictitious online retailer, "Terra" | Not available |
Copy file name to clipboardExpand all lines: articles/search/search-get-started-rbac.md
+10-18Lines changed: 10 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.date: 11/29/2024
12
12
13
13
# Quickstart: Connect without keys
14
14
15
-
Configure Azure AI Search to use Microsoft Entra ID authentication and role-based access control (RBAC). Connect from your local system with your personal identity, using Jupyter notebooks or a REST client to interact with your search service.
15
+
Configure Azure AI Search to use Microsoft Entra ID authentication and role-based access control (RBAC) so that you can connect from your local system with your personal identity, using Jupyter notebooks or a REST client to interact with your search service.
16
16
17
17
If you stepped through other quickstarts that connect using API keys, this quickstart shows you how to switch to identity-based authentication so that you can avoid hard-coded keys in your example code.
18
18
@@ -22,7 +22,7 @@ If you stepped through other quickstarts that connect using API keys, this quick
22
22
23
23
-[Azure AI Search](search-create-service-portal.md), any region or tier, but you need Basic or higher to configure a managed identity for Azure AI Search.
24
24
25
-
- A command line tool, such as the [Azure CLI](/cli/azure/install-azure-cli).
25
+
- A command line tool, such as PowerShell or Bash, and the [Azure CLI](/cli/azure/install-azure-cli).
26
26
27
27
## Step 1: Get your Azure subscription and tenant IDs
28
28
@@ -38,13 +38,13 @@ You need this step if you have more than one subscription or tenant.
38
38
39
39
:::image type="content" source="media/search-get-started-rbac/select-subscription-name.png" lightbox="media/search-get-started-rbac/select-subscription-name.png" alt-text="Screenshot of the portal page providing the subscription name":::
40
40
41
-
1. You now know which subscription and tenant Azure AI Search is under. Switching to your local device and a command prompt, identify the active Azure subscription and tenant on your device:
41
+
1. You now know which subscription and tenant Azure AI Search is under. Switch to your local device and a command prompt, and identify the active Azure subscription and tenant on your device:
42
42
43
43
```azurecli
44
44
az account show
45
45
```
46
46
47
-
1. If the active subscription and tenant differ from the information obtained in the previous step, change the subscription ID. Next, sign in to Azure using the tenant ID also found in the previous step:
47
+
1. If the active subscription and tenant differ from the information obtained in the previous step, change the subscription ID. Next, sign in to Azure using the tenant ID that you found in the previous step:
48
48
49
49
```azurecli
50
50
az account set --subscription <your-subscription-id>
az account get-access-token --scope https://search.azure.com/.default
130
+
az account get-access-token --scope https://search.azure.com/.default--query accessToken --output tsv
131
131
```
132
132
133
-
1. Set variables used for the connection, pasting the full search service endpoint and the token you got in the previous step.
133
+
1. Set variables used for the connection, pasting the full search service endpoint and the token you got in the previous step. Make sure neither value is quote-enclosed.
Copy file name to clipboardExpand all lines: articles/search/search-get-started-rest.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.author: heidist
9
9
ms.service: azure-ai-search
10
10
ms.topic: quickstart
11
11
ms.devlang: rest-api
12
-
ms.date: 10/31/2024
12
+
ms.date: 11/29/2024
13
13
ms.custom:
14
14
- mode-api
15
15
- ignite-2023
@@ -116,7 +116,7 @@ If you're not familiar with the REST client for Visual Studio Code, this section
116
116
117
117
1. Open or create a new file named with either a `.rest` or `.http` file extension.
118
118
119
-
1. Paste in the following example if you're using API keys. Replace the `@baseUrl` and `@apiKey` placeholders with the values you copied earlier.
119
+
1. Paste in the following example if you're using API keys. Replace the `@baseUrl` and `@apiKey` placeholders with the values you copied earlier, without quotes.
120
120
121
121
```http
122
122
@baseUrl = PUT-YOUR-SEARCH-SERVICE-ENDPOINT-HERE
@@ -128,7 +128,7 @@ If you're not familiar with the REST client for Visual Studio Code, this section
128
128
api-key: {{apiKey}}
129
129
```
130
130
131
-
1. Or, paste in this example if your using roles. Replace the `@baseUrl` and `@token` placeholders with the values you copied earlier.
131
+
1. Or, paste in this example if your using roles. Replace the `@baseUrl` and `@token` placeholders with the values you copied earlier, without quotes.
132
132
133
133
```http
134
134
@baseUrl = PUT-YOUR-SEARCH-SERVICE-ENDPOINT-HERE
@@ -144,6 +144,8 @@ If you're not familiar with the REST client for Visual Studio Code, this section
144
144
145
145
:::image type="content" source="media/search-get-started-rest/rest-client-request-setup.png" lightbox="media/search-get-started-rest/rest-client-request-setup.png" alt-text="Screenshot that shows a REST client configured for a search service request.":::
146
146
147
+
If you get `WWW-Authenticate: Bearer realm="Azure Cognitive Search" error="invalid_token" error_description="Authentication token failed validation."`, remove the quotes around the token, save the file, and retry your request.
148
+
147
149
Key points:
148
150
149
151
- Parameters are specified by using an `@` prefix.
0 commit comments