Let's improve our agent.
First, let's update the name and description.
Continuing in Visual Studio Code:
- Open the Explorer view.
- In appPackage folder, open declarativeAgent.json file.
# Create connection | |
# https://learn.microsoft.com/graph/api/externalconnectors-external-post-connections?view=graph-rest-1.0&tabs=http | |
# @name createConnection | |
POST https://graph.microsoft.com/v1.0/external/connections | |
Content-Type: application/json | |
Authorization: Bearer {{$aadV2Token appOnly}} | |
{ | |
"id": "marvelcharacters", |
Use declarative agents to extend Microsoft 365 Copilot. You ingest external content to Microsoft 365 and create agents that use that content to answer questions authoritatively.
Suppose you have an external system where you store knowledge base articles. These articles contain information about different processes in your organization. You want to be able to easily find and discover relevant information from Microsoft 365. You also want Microsoft 365 Copilot to include information from these knowledge base articles in its responses.
Using agents you create AI-powered assistants optimized for specific scenarios in Microsoft 365 Copilot. With instructions, you define the context for the agent and specify settings such as tone of voice or how it should respond. By configuring the agent's skills, you give it the ability to interact with external systems, trigger certain behavior under system conditions, or use custom workflow logic. One type of skill is actions that allow a declarative agent to communicate with APIs both for retrieving and modifying data.
Suppose you work in the sales department for Northwind Traders. You regularly need to check the status of orders and customers. You want to be able to quickly see what orders are pending, but also consider customer details in case you have questions. The Northwind Traders API exposes their data via an API. Rather than building a separate app, you want to build an agent for Microsoft 365 Copilot so that you can easily find the available orders and custom
Use declarative agents to extend Microsoft 365 Copilot. You define custom knowledge to create agents that can answer questions using authoritative content.
Suppose you work in a customer support team. You and your team handle queries about products that your organization makes from customers. You want to improve response times and provide a better experience. You store documents in a document library on a SharePoint Online site that contains product specifications, frequently asked questions, and policies for handling repairs, returns, and warranties. You want to be able to use natural language to query information in these documents and get answers quickly to customer queries.
{ | |
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.0/genericrandomerrorplugin.schema.json", | |
"errors": [ | |
{ | |
"request": { | |
"url": "https://jsonplaceholder.typicode.com/*" | |
}, | |
"responses": [ | |
{ | |
"statusCode": 400, |
#!/usr/bin/env zx | |
// suppress printing command names and output | |
$.verbose = false; | |
const token = 'github_pat_' | |
async function getDownloads() { | |
let numDownloads = 0; | |
let page = 1; | |
const perPage = 30; |
<# | |
.SYNOPSIS | |
This script publishes a new release of Dev Proxy to the Windows Package Manager (winget). | |
.DESCRIPTION | |
This script creates a new release folder and manifest files for the new version. The script then creates a new branch, commits the changes, and pushes the branch to the remote repository. Finally, the script creates a pull request with the new version information. | |
.PARAMETER NewVersion | |
The version number of the new release in semver format. |
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"position": { | |
"type": "string" | |
}, | |
"value": { |
{ | |
"playstyles": [ | |
{ | |
"position": "GK", | |
"value": "Line Keeper", | |
"modifiers": [ | |
{ | |
"key": "overall", | |
"value": 3 | |
}, |