Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Declarative Agent - PnP Assistant

Summary

This declarative agent is designed to assist users in finding more information about the PnP reusable React controls. It provides a user-friendly interface for users to ask questions and receive relevant answers based on the information available in the PnP documentation.

PnP Assistant helping user to find information about a specific control: PnP Assistant - help with control

PnP Assistant helping user to find information about a specific control's properties: PnP Assistant - control properties

PnP Assistant helping user to find a control that matches a specific requirement: PnP Assistant - suggest control

Contributors

Version history

Version Date Comments
1.0 May 18, 2025 Initial release

Prerequisites

To run this app template from your local dev machine, you will need:

Minimal path to awesome

  1. Clone this repository (or download solution as .ZIP file)

  2. Rename the .env.dev.example file to .env.dev and update the following values:

    # Built-in environment variables
    TEAMSFX_ENV=" dev"
    APP_NAME_SUFFIX=" dev"
    
    TEAMS_APP_ID=aad90fc0-dbbc-42e2-b9c1-f30b8cc3894d
    TEAMS_APP_TENANT_ID=<tenant_id>
    M365_TITLE_ID=
    M365_APP_ID=
  3. From the VSCode Teams Toolkit sign-in to your Microsoft 365 account.

  4. From the VSCode Teams Toolkit provision the solution to create the Teams app.

  5. Go to https://www.office.com/chat?auth=2 URL and select the agent.

  6. Use one of the conversation starters to start trying the agent.

Features

This sample demonstrates the following concepts:

  • Build a declarative agent that uses one or multiple sites as knowledge base.
  • Answer questions about the PnP reusable React controls and PnP reusable property controls.

Help

We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.

You can try looking at issues related to this sample to see if anybody else is having the same issues.

If you encounter any issues using this sample, create a new issue.

Finally, if you have an idea for improvement, make a suggestion.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.