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/search-get-started-rag.md
-28Lines changed: 0 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,22 +108,6 @@ We recommend the hotels-sample-index, which can be created in minutes and runs o
108
108
109
109
1. Run the following query to test your index: `hotels near the ocean with beach access and good views`.
110
110
111
-
Output should look similar to the following partial example, trimmed here for brevity. The presence of `@search.rerankerScore` and `@search.captions` tells you that the semantic ranker is working.
112
-
113
-
```json
114
-
"@search.score": 5.600783,
115
-
"@search.rerankerScore": 2.4191176891326904,
116
-
"@search.captions": [
117
-
{
118
-
"text": "Ocean Air Motel. Budget. pool\r\nair conditioning\r\nbar. Oceanfront hotel overlooking the beach features rooms with a private balcony and 2 indoor and outdoor pools. Various shops and art entertainment are on the boardwalk, just steps away..",
119
-
"highlights": "Ocean Air Motel. Budget.<em> pool\r\nair conditioning\r\nbar. O</em>ceanfront hotel overlooking the beach features rooms with a private balcony and 2 indoor and outdoor pools. Various shops and art entertainment are on the boardwalk, just steps away.."
120
-
}
121
-
],
122
-
"HotelId": "41",
123
-
"HotelName": "Ocean Air Motel",
124
-
"Description": "Oceanfront hotel overlooking the beach features rooms with a private balcony and 2 indoor and outdoor pools. Various shops and art entertainment are on the boardwalk, just steps away.",
125
-
```
126
-
127
111
## Get service endpoints
128
112
129
113
1. Sign in to the [Azure portal](https://portal.azure.com).
@@ -281,18 +265,6 @@ This section uses Visual Studio Code and Python to call the chat APIs on Azure O
281
265
print(chat_thread.get_last_message()["content"])
282
266
```
283
267
284
-
Output might look similar to the following example:
285
-
286
-
```
287
-
Based on your request, here are a few hotel recommendations with beach access and good views:
288
-
289
-
1. Ocean Air Motel - oceanfront hotel with a private balcony and indoor and outdoor pools
290
-
2. Marquis Plaza & Suites - offers a view, free Wi-Fi, and a pool
291
-
3. Pull r Inn Motel - offers a view, a pool, and free Wi-Fi
292
-
293
-
I hope this helps! Let me know if you need any further assistance.
294
-
```
295
-
296
268
## Clean up
297
269
298
270
When you're working in your own subscription, it's a good idea at the end of a project to identify whether you still need the resources you created. Resources left running can cost you money. You can delete resources individually or delete the resource group to delete the entire set of resources.
0 commit comments