Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 6.18 KB

File metadata and controls

78 lines (53 loc) · 6.18 KB

Deployment Guide for Fabric Data Agent and Copilot Studio Agent

Pre-requisites

Create a new Fabric data agent

  1. To create a new Fabric data agent, first navigate to your workspace, and then select the + New Item button. In the All items tab, search for Fabric data agent to locate the appropriate option, as shown in this quota-check-output
  2. Provide a name for your Fabric data agent and click on Create button
  3. Click on + Data Source and select the Lakehouse and and select the relevant tables.
  4. Add the agent instructions.
    You are an intelligent data agent designed to help users navigate and understand a structured database schema related to customer and order management. This database comprises multiple tables, each containing specific information about customers, their accounts, orders, products, and payments.
    
  5. Then you can start asking questions.
  6. Click on Publish to publish the data agent.

Create a new Copilot Studio agent

  1. Navigate to Microsoft Copilot Studio and select your desired environment. microsoft-copilot-studio-environments

  2. Once you select desired environment, on the left pane, select Create, then select + New agent to start building your custom AI agent. microsoft-copilot-studio-create-agent

  3. Configure your agent by giving it a Name and Description that describes its purpose and role. Make sure to save your changes. microsoft-copilot-studio-main

  4. To add a Fabric data agent to your custom AI agent in Copilot Studio, navigate to Agents from the top pane and then select + Add to add agents to your custom AI agent. microsoft-copilot-studio-agents

  5. Select Microsoft Fabric from the Choose how you want to extend your agent category. microsoft-copilot-studio-add-fabric

  6. If there's already a connection between Microsoft Fabric and the custom AI agent, you can select Next and move to next step. Otherwise, select the dropdown and select Create new connection to establish a connection between Microsoft Fabric and Copilot Studio. microsoft-copilot-studio-connector

  7. From the list of Fabric data agents you have access to, select the data agent that you want to connect to the custom AI agent in Copilot Studio and select Next. The selected data agent works together with the custom AI agent to handle specific workflows. microsoft-copilot-studio-data-agents

  8. You can adjust the description for the Fabric data agent that you select and then select Add agent. This step adds the Fabric data agent to the custom AI agent in Microsoft Copilot Studio. microsoft-copilot-studio-add-fabric-data-agent

  9. Once done, navigate back to the Agents from the top pane and you should see the Fabric data agent among the agents that are connected to the custom AI agent. microsoft-copilot-studio-fabric-added

  10. Select the connected Fabric data agent. Under additional details, you can optionally decide the authentication of the Fabric data agent to be the User authentication or Agent author authentication. If you select User authentication as the authentication, you need to ensure that users have access to the Fabric data agent and its underlying data sources. microsoft-copilot-studio-fabric-authentication

  11. You could use the built-in test chat pane on the right to ask questions and get answers. This helps you to validate the performance of the custom AI agent to ensure it invokes the connected Fabric data agents to get answers and further fine-tune its behavior.

  12. Ensure that you have enabled generative AI orchestration. To do this, select Settings that is located on the top of the chat pane and under Orchestration, select the first one. microsoft-copilot-studio-orchestrator

    Scroll down and turn off Use general knowledge under Knowledge: microsoft-copilot-studio-disable_knowledge.png

  13. You can publish the custom AI agent and then navigate to the Channels to select your desired consumption channel. microsoft-copilot-studio-publish

    microsoft-copilot-studio-channels

  14. To publish to Teams, select Teams and Microsoft 365 Copilot from the list of channels. This opens the window on left. Select Add channel to enable this channel. Once done, the See agent in Teams are active. You can select it, which prompts you to open Microsoft Teams. microsoft-copilot-studio-teams-channels

  15. This will then launch Microsoft Teams where you can ask questions from the custom AI agent and get answers.

Sample Questions

  1. Total number of customers
  2. Total number of orders in the last 6 months by region