Task 03: Use Playground to chat with your data
Introduction
With indexed data in place, Adatum can leverage the Azure AI Playground to test and refine chatbot interactions. The Playground enables real-time testing, ensuring the chatbot returns relevant responses based on customer inquiries.
Description
In this task, you’ll use the Azure AI Playground to chat with your indexed data. This will allow you to validate response accuracy and optimize chatbot interactions.
Success Criteria
- The chat returns output based on the indexed data when queried.
Learning Resources
Key tasks
01: Use the system message in the Playground to test responses
Expand this section to view the solution
-
Once the data has been indexed, select the chat box on the right of the playground and enter the following query:
Who are you? -
Select Enter and take note of the response. This is referencing the information provided in the system message, shown to the left.

-
Change the system message to the following, then select Apply changes:
You are an AI assistant for Adatum that answers questions about their products.
-
Run the Who are you? query again and note the updated response.
The system message can provide more than just context for the purpose of the tool, it can also be used to influence how the model behaves and responds to queries.
-
Next, run the following query:
Show me a list of products.The response should return a list of products pulled from the products.xlsx file.

-
Next, run the following query to narrow down the products to what we’re looking for:
Can you recommend a good camping chair?The response should reference the TrekMaster Camping Chair and provide information about it.

-
Run the following query to check the price of the chair:
How much does it cost?The response should show the price of the TrekMaster Camping Chair as $50.
The chat history keeps track of the entire conversation with the chatbot. In the previous question, we didn’t specify what item we wanted the price for, but the chat was able to use context from chat history to properly answer the query.
You’ve successfully completed this task and exercise.