Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garrytrinder/dc-product-support-plugin
https://github.com/garrytrinder/dc-product-support-plugin
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/garrytrinder/dc-product-support-plugin
- Owner: garrytrinder
- Created: 2024-08-12T15:11:06.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-12T16:29:05.000Z (3 months ago)
- Last Synced: 2024-08-12T18:48:50.924Z (3 months ago)
- Language: Bicep
- Size: 715 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Product support Declarative copilot
> [!NOTE]
> This sample is work in progress and uses experimental features in Teams Toolkit and functionality in Copilot for Microsoft 365 that is in private preview. The sample may not work as expected and is subject to change.This sample demonstrates how to use Teams Toolkit for Visual Studio Code to create a Declarative copilot for Copilot for Microsoft 365. The declarative copilot provides a tailored experience for users to get help with their questions and issues related to Contoso Electronics products.
## Features
### Custom conversation starters
![Screenshot of sample prompts](./assets/conversation-starters.png)
### Custom instructions
![Screenshot of copilot response from the questions 'What can you do?'](./assets/instructions.png)
### Knowledge from SharePoint Online
![Screenshot of copilot response that uses knowledge held in documents stored in a SharePoint Online document library](./assets/knowledge.png)
### API plugin with Adaptive Card response
![Screenshot of copilot response using data and an Adaptive Card returned by an API plugin](./assets/plugin.png)
## Prerequisites
- [Node.js](https://nodejs.org/).
- [Visual Studio Code](https://code.visualstudio.com/) preview with `TEAMSFX_DECLARATIVE_COPILOT=true` environment variable set.
- [Teams Toolkit CLI](https://www.npmjs.com/package/@microsoft/teamsapp-cli).
- [Teams Toolkit for Visual Studio Code](https://aka.ms/teams-toolkit).
- Microsoft 365 tenant with Declarative copilot features enabled.## Minimal path to awesome
1. Upload the documents in the [docs](./docs/) folder to a document library in a SharePoint Online site.
1. In `env` folder, create `env.local`.
1. In `env.local` file, create `SHAREPOINT_SITE_URL` environment variable and set the value to the SharePoint Online site URL where the documents are located.
1. Run F5 to debug and test.