Skip to content

Commit a96a254

Browse files
Merge pull request #281556 from HeidiSteen/heidist-qs-rag
[azure search] updates to rag quickstart
2 parents 26ec5a2 + 6c2f37b commit a96a254

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

articles/search/search-get-started-rag.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,21 @@ This section uses Visual Studio Code and Python to call the chat APIs on Azure O
265265
print(chat_thread.get_last_message()["content"])
266266
```
267267

268+
Output is from Azure OpenAI, and it consists of recommendations for several hotels. Here's an example of what the output might look like:
269+
270+
```
271+
Based on your criteria, we recommend the following hotels:
272+
273+
- Contoso Ocean Motel: located right on the beach and has private balconies with ocean views. They also have indoor and outdoor pools. It's located on the boardwalk near shops and art entertainment.
274+
- Northwind Plaza & Suites: offers ocean views, free Wi-Fi, full kitchen, and a free breakfast buffet. Although not directly on the beach, this hotel has great views and is near the aquarium. They also have a pool.
275+
276+
Several other hotels have views and water features, but do not offer beach access or views of the ocean.
277+
```
278+
279+
To experiment further, change the query and rerun the last step to better understand how the model works with your data.
280+
281+
You can also modify the prompt to change the tone or structure of the output.
282+
268283
## Clean up
269284

270285
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

Comments
 (0)