Exercise - Start building your declarative agent

Completed

The customer support teams need an agent that answers their questions using information from documents stored in Microsoft 365. Here, you start building a declarative agent. You validate how it's working against requirements to check your work.

Specification

The declarative agent:

  • is available within Microsoft 365 Copilot
  • provides examples of how users can ask it questions
  • politely refuses to answer questions not related to its function

Check your work

At this point, you have a declarative agent with custom instructions and examples of questions that the users might ask. The agent is visible in Microsoft 365 Copilot chat.

  1. Navigate to Microsoft 365 Copilot chat. Is your agent visible?
  2. In Microsoft 365 Copilot chat, navigate to the agent. Does it show examples of the questions that a user might ask?
  3. Ask a question not related to Contoso products. Does the agent politely refuse to answer it?