Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Overview of the Docfinder declarative agent

The docfinder declarative agent demonstrates how you users can easily discover documents in SharePoint and OneDrive based on those created, modified or viewed by them. As a agent builder, it illustrates how you can use instructions to steer Copilot to help the user. Take a look at the instructions file to see more.

DocFinder in use

Minimal path to awesome

Prerequisites

To run this app you will need:

  1. First, select the Teams Toolkit icon on the left in the VS Code toolbar.
  2. In the Account section, sign in with your Microsoft 365 account if you haven't already. Ensure that both "Custom App Upload Enabled" and "Copilot Access Enabled" have green checkmarks
  3. Create and provision the Teams app by clicking Provision in "Lifecycle" section.
  4. Select the "Run and Debug" icon in the left sidebar, and then select Preview in Copilot (Edge) or Preview in Copilot (Chrome) from the launch configuration dropdown.
  5. Once the Copilot app is loaded in the browser, click on the "…" menu and select "Copilot agents". You will see your declarative agent on the right rail. Clicking on it will change the experience to showcase the logo and name of the declarative agent.
  6. Ask a question to your declarative agent and it should respond based on the instructions provided.

Addition information and references

Please check out the author's YouTube short where he explains and demos the solution

Jeremy's video