Build an initial copilot

Scenario

In this lab, you will:

  • Create and name a copilot
  • Add description for what the copilot should do
  • Configure Generative AI answers

What you will learn

  • How to create a a copilot using natural language
  • How to configure Generative AI answers for a copilot

High-level lab steps

  • Create a new copilot
  • Tell your copilot what its primary purpose is and how it should act
  • Add Generative AI instructions

Prerequisites

  • Must have completed Lab: Import Dataverse solution

Exercise 1 - Create copilot

In this exercise, you will access the Microsoft Copilot Studio portal, the Developer environment and create a new copilot.

Task 1.1 – Microsoft Copilot Studio portal

  1. In a new tab, navigate to the Microsoft Copilot Studio portal https://copilotstudio.microsoft.com and sign in with your Microsoft 365 credentials if prompted again.

  2. Make sure that you are in the appropriate environment.

Task 1.2 – Create a copilot

  1. Select Create from the left navigation pane and select the New copilot tile.

    Create in CoPilot Studio portal.

  2. Select Skip to configure.

    Create with prompt in CoPilot Studio portal.

  3. In the Name text box, enter Real Estate Booking Service

    Details pane in CoPilot Studio portal.

  4. In the Description text box, enter Create bookings for real estate properties

  5. In the Instructions text box, enter Create a copilot for topics relating to creating bookings for real estate properties

  6. Primary language should be set to English.

    New copilot details pane in CoPilot Studio portal.

  7. Select the three dots next to the Create button in the upper-right of the screen and select Edit advanced settings.

    More options in CoPilot Studio portal.

  8. Select the Bookings solution.

  9. Enter labcopilot for Schema Name.

    Advanced settings in CoPilot Studio portal.

  10. Select Save.

  11. In the bottom-right of the screen, select I’m done. Let’s try it out.

    Try copilot in CoPilot Studio portal.

  12. In the Type your message text box, enter How do I make a booking?. View the response.

  13. In the upper-right of the screen, select Create.

    Custom copilot in CoPilot Studio portal.

Leave this window open.

Exercise 2 - Add Generative AI answers

In this exercise, you will access the Microsoft Copilot Studio portal and add knowledge that the copilot will use to answer questions by using Generative AI.

Task 2.1 – Enable Generative AI answers

  1. In the Knowledge section of the Overview tab, ensure that Allow the AI to use its own general knowledge is Enabled.

    Knowledge enabled in CoPilot Studio portal.

Task 2.2 – Add a knowledge source

  1. Select the Knowledge tab.

    Knowledge tab in CoPilot Studio portal.

  2. Select + Add knowledge.

    Knowledge sources in CoPilot Studio portal.

  3. Select Public websites

  4. In the Public website link text box, enter https://create.microsoft.com/en-us/.

    Add public website link in CoPilot Studio portal.

  5. Select Add.

  6. Select Add.

  7. Select the Overview tab.

    Custom copilot in CoPilot Studio portal.

  8. Select the three dots at the top of the testing panel in the upper-right of the screen.

    Screenshot of the Testing panel options.

  9. Select Track between topics.

  10. Select the Start a new conversation icon at the top of the testing panel.

  11. In the Type your message text box, enter How do I boost real estate promotion?.

    Screenshot of the Testing panel results.