Build your own copilot! New Microsoft Copilot extensions

Copilot for Microsoft 365 Mechanics
21 May 202409:33

Summary

TLDRこのビデオスクリプトでは、Microsoft 365のCopilot拡張機能を紹介しています。Copilotは、Microsoft Graphを活用し、SharePointやOneDrive、メール、カレンダー、TeamsなどのMicrosoft 365アプリ内のファイルやデータを参照し、インターネット情報と組み合わせてパーソナライズされた体験を提供します。Copilot拡張機能では、外部の情報源にリアルタイムでアクセスし、カスタムタスクに特化したCopilotを作成し、外部システムとの動的な接続や特定のアクションを自動化できます。ビデオでは、サポート技術者として週次報告を作成する例を通じて、Copilot拡張機能がどのように体験をカスタマイズするかを説明しています。

Takeaways

  • 🔍 Copilot for Microsoft 365は、外部データと独自スキルを組み合わせて日常業務を効率化することができる拡張機能を提供しています。
  • 🌐 CopilotはMicrosoft Graphを利用して、SharePoint、OneDrive、メール、カレンダー、TeamsなどのMicrosoft 365内のファイルやデータを参照し、パーソナライズされたエクスペリエンスを提供します。
  • 📄 Wordでプロンプトを送信すると、Copilotは目的を理解し、必要な情報を取得してフォーマットされた応答を返します。
  • 📈 Copilot拡張機能は、既に優れた基盤体験をさらに強化し、特定のタスクに特化したCopilotを構築することができます。
  • 🔌 Copilot拡張機能を使用すると、Microsoft 365以外のリアルタイムの外部情報源にアクセスし、タスクの確認などを行うことができます。
  • 📚 Copilot拡張機能では、特定のファイルやデータセットに特化した独自のCopilotを作成し、生成内容や自動化されたアクションをカスタマイズできます。
  • 🛠️ 技術者として週報を作成する例では、Copilot拡張機能を使用して、Microsoft 365以外のサポートサイトの知識ベース記事を含めることができます。
  • 📝 Copilot拡張機能を使用して、外部システムに代わってアクションを実行することができるプラグイン(例:Doc Improvement)があります。
  • 📘 Copilot Studioを使用して、低コード方法で独自のCopilotを構築することができます。これにより、特定のユーザーやグループに公開して使用することができます。
  • 💻 Visual Studio CodeなどのIDEを使用して、プラグインやAPI仕様、機能定義を含むCopilot拡張機能を構築することも可能です。
  • 🚀 Copilot拡張機能の構築と展開は今後数週間で行われ、詳細はcopilotstudio.microsoft.comで確認できます。

Q & A

  • Copilot for Microsoft 365をカスタマイズするために何ができるのか?

    -Copilot for Microsoft 365は、外部データとの連携や特定のスキルを追加することで、ユーザーの日常業務を加速させるためにカスタマイズできます。

  • Copilot extensionsの役割は何ですか?

    -Copilot extensionsは、Copilotの基本的な機能をさらに充実させ、特定のタスクや外部データとの連携を可能にします。

  • Copilot for Microsoft 365が他の無料の生成AIと異なる点は何ですか?

    -Copilot for Microsoft 365は、Microsoft Graphの情報を使用して個々のユーザーの体験をパーソナライズし、さらに外部のデータソースと連携してより高度な応答を提供する点で異なります。

  • 技術者の例でCopilot extensionsがどのように役立つのかを説明してください。

    -技術者が週次レポートを作成する際、Copilot extensionsを使用して、Microsoft 365内のデータだけでなく、サポートサイトのナレッジベース記事も含めた情報を取得し、レポートを自動生成することができます。

  • 特定のタスクに焦点を当てたCopilotはどのように構築されますか?

    -特定のタスクに焦点を当てたCopilotは、必要なファイルやデータを指定し、追加の指示やワークフローを設定して生成されます。その後、他のユーザーも利用できるようにCopilot extensionとして公開されます。

  • Copilot StudioでCopilotを作成する手順は何ですか?

    -Copilot Studioでは、まずCopilotに名前と説明を付け、指示を追加してから、データソースやアクションを設定し、作成後に公開して特定のユーザーやグループに提供します。

  • Visual Studio Codeを使用してCopilot extensionを作成する際の基本ファイルは何ですか?

    -Visual Studio Codeを使用してCopilot extensionを作成する際には、Swagger.json、Supportplugin.json、manifest.jsonの3つの基本JSONファイルが必要です。

  • Swagger.jsonファイルの役割は何ですか?

    -Swagger.jsonファイルは、APIに接続するための操作や応答を定義し、成功または失敗時に返す情報を指定します。

  • manifest.jsonファイルに含まれる重要な情報は何ですか?

    -manifest.jsonファイルには、ID、名前、開発者、説明、ブランディングの詳細、および定義された宣言的なCopilotの情報が含まれます。

  • Copilot extensionsの展開時期はいつですか?

    -Copilot extensionsの機能は、今後数週間以内に展開される予定です。

Outlines

00:00

🌟 Copilot拡張機能の紹介と構築方法

Microsoft 365のCopilotを拡張して、独自のニーズに合わせた体験を実現することができる。Copilot拡張機能は、外部データを使用し、日常業務を加速させる特別なスキルを追加することができる。Copilotは、Microsoft Graphの情報と連携して、SharePoint、OneDrive、メール、カレンダー、Teamsなどのファイルやデータを参照し、インターネットの情報も活用して、Microsoft 365アプリ内のCopilot体験をパーソナライズする。Copilot拡張機能は、情報源にリアルタイムでアクセスし、タスクの完了確認などを行うプラグインや、Microsoft Graphがインデックスするサイトやサービスを拡張するコネクタを提供する。また、特定のファイルやデータを必要とする特定のタスクに焦点を当てた独自のCopilotを構築することもできる。これらのCopilotは、他のユーザーが使用できるCopilot拡張機能として提供される。サポート技術者が週報を作成する例として、Copilot拡張機能を使用して、Microsoft 365以外のサポートサイトの情報を含めたり、外部システムに代わってアクションを実行したりする方法が紹介されている。

05:02

📚 Copilot拡張機能を使ったサポート技術者の仕事の効率化

Copilot拡張機能を使用することで、サポート技術者の業務が効率化される。Copilotは、メールの分析やKB記事の更新など、同じセッション内で複数のカスタムCopilotを操作することができる。サポートコンテンツの執筆者Copilotは、知識ベース記事を最新の状態に保つための役立ちのツールとして構築されている。Copilot拡張機能を構築するには、Microsoft Copilot Studioの低コードアプローチやVisual Studio CodeなどのIDEを使用することができる。Copilot Studioでは、Copilotの名前や説明、インストラクション、スタータープロンプトを設定して作成することができる。また、外部データやMicrosoft 365内のデータをプラグインやコネクタを使って接続することができる。Visual Studio Codeでは、プラグインの動作を定義するJSONファイルを作成し、APIの操作や応答、機能の定義、マニフェストのメタデータなどを設定することができる。これらの機能を活用して、よりカスタマイズされた体験を実現することができる。

Mindmap

Keywords

💡Copilot for Microsoft 365

Copilot for Microsoft 365は、Microsoftのアプリケーションスイート内で使用できるAIアシスタントです。大規模な言語モデルとMicrosoft Graphの情報を組み合わせ、ユーザーの操作を支援し、個別化された応答を提供します。例として、Wordでのプロンプトに対してフォーマットされた応答を返すことができます。

💡Copilot extensions

Copilot extensionsは、Copilot for Microsoft 365の機能を拡張するためのツールです。これにより、外部データと連携したり、特定のタスクに焦点を当てたカスタムCopilotを作成したりすることができます。例として、サポート技術者が外部のサポートサイトの情報を利用してレポートを作成することが可能になります。

💡Microsoft Graph

Microsoft Graphは、Microsoft 365内のデータと外部データソースを統合するAPIです。Copilot extensionsを使用することで、このデータを活用して個別化された応答やタスクの自動化が可能になります。例として、外部のKB記事を検索して関連情報を提供することができます。

💡Knowledge Base (KB) articles

Knowledge Base (KB) articlesは、サポート情報や技術的なドキュメントを含む記事です。Copilot extensionsを使用することで、これらのKB記事を自動的に検索し、関連するサポート情報を提供することができます。例として、送信したメールに基づいて関連するKB記事を見つけることができます。

💡Copilot Studio

Copilot Studioは、低コードでカスタムCopilotを作成するためのツールです。ユーザーはプロンプトを使ってCopilotを構成したり、外部データソースと連携したりすることができます。例として、サポートレポートライターを作成して週次レポートを自動生成することができます。

💡Visual Studio Code

Visual Studio Codeは、Microsoftが提供するソースコードエディタで、プラグインや拡張機能を開発するために使用されます。Copilot extensionsを作成する際に、このIDEを使用して詳細な設定やカスタマイズが可能です。例として、Swaggerファイルやサポートプラグインを定義してAPI連携を設定できます。

💡JSONファイル

JSONファイルは、構造化されたデータを保存するための形式で、Copilot extensionsの設定やデータ連携に使用されます。例として、Swaggerファイルやmanifest.JSONでAPI操作やCopilotのメタデータを定義します。

💡プラグイン

プラグインは、Copilot extensionsの機能を拡張するためのモジュールです。外部システムと連携してタスクを実行したり、データを取得したりすることができます。例として、Doc Improvementプラグインを使用してKB記事の改善タスクを作成できます。

💡低コード

低コードは、プログラミングの知識を必要とせずにソフトウェアを開発できる方法を指します。Copilot Studioを使用することで、ユーザーは簡単にカスタムCopilotを作成し、拡張機能を構築することができます。例として、プロンプトを使ってサポートレポートライターを作成することができます。

💡タスクの自動化

タスクの自動化は、手動の操作を減らし、効率を向上させるために、ソフトウェアがタスクを自動的に実行するプロセスです。Copilot extensionsを使用することで、特定のアクションを自動的に実行することが可能になります。例として、メールから情報を取得してKB記事の改善タスクを自動生成することができます。

Highlights

Customizing Copilot for Microsoft 365 with tailored experiences and external data integration.

Introduction of Copilot extensions to enhance the baseline experience of Copilot for Microsoft 365.

Utilization of large language models and Microsoft Graph to personalize the Copilot experience.

How Copilot determines user intent and grounds prompts with additional information.

Types of Copilot extensions: external data integration and specialized task-focused extensions.

Real-time interaction with external information sources through available plugins.

Using connectors to extend Microsoft Graph indexing to external sites or services.

Building custom Copilots for specific tasks with a unique set of files or data.

Adding instructions and workflows to scope the generated content by a specialized Copilot.

Example of a support technician using Copilot to write a weekly report with external data.

Demonstration of enriched experience with Copilot extension including external KB articles.

Explanation of how a Microsoft Graph connector is used to find external information.

Using a plugin to perform actions with an external system on behalf of the user.

Creating a task in a knowledge base system through a Copilot extension.

Tailoring the technician's experience with content specific to their needs.

Focusing on a specific task with a specialized Copilot available as an extension.

Building a support content author Copilot to keep knowledge base articles updated.

Using multiple custom Copilots in the same conversation for a cohesive workflow.

Drafting a fully written report with the help of Support Report Writer Copilot.

Building Copilot extensions using a low-code approach with Microsoft Copilot Studio.

Accessing Copilot Studio and creating a new Copilot with specific instructions.

Linking Copilot to external data sources or inside Microsoft 365 with actions.

Using an IDE like Visual Studio Code for building Copilot extensions with detailed configurations.

Overview of the JSON files required for building a Copilot extension in an IDE.

The upcoming rollout of these capabilities and resources for getting started.

Transcripts

play00:02

You can now customize Copilot for Microsoft 365

play00:06

for your own unique needs,

play00:08

with tailored experiences that can work with external data,

play00:11

while adding unique skills

play00:12

to accelerate the things you do every day.

play00:14

This is now possible with Copilot extensions.

play00:18

And today I'll demonstrate the experience

play00:20

with Copilot extensions and how to build them.

play00:23

First, let me unpack how Copilot for Microsoft 365 works

play00:27

in relation to Copilot extensions.

play00:29

Copilot for Microsoft 365 comprises large language models,

play00:33

information in the Microsoft Graph to find

play00:36

or reference files and data in places like SharePoint,

play00:39

OneDrive, email, your calendar, and Teams,

play00:42

along with information found on the internet

play00:44

to personalize the Copilot experience

play00:47

inside the Microsoft 365 apps you use.

play00:50

For example, when you submit a prompt in Word,

play00:52

Copilot determines what you are trying to do,

play00:55

finds additional information to ground your prompt,

play00:57

and then returns a fully formatted,

play00:59

highly personalized response to you.

play01:01

This is what sets Copilot for Microsoft 365 apart

play01:05

from free generative AI experiences.

play01:08

Copilot extensions enrich and focus

play01:11

this already great baseline experience further.

play01:14

There are a few main types.

play01:16

The first lets you plug into information sources

play01:19

relevant to you that are sitting outside of Microsoft 365

play01:23

in near real time, and you can interact with them,

play01:26

like confirming a task was completed.

play01:28

This is made possible by available plugins.

play01:31

You can also use connectors

play01:32

to extend what the Microsoft Graph indexes

play01:35

to sites or services also outside of Microsoft 365.

play01:39

The next lets you build your own Copilot,

play01:42

focused on a specific task requiring a specific set of files

play01:45

or data to guide it.

play01:47

You can also add additional instructions and workflow

play01:50

to scope what it generates

play01:51

and even automate specific actions.

play01:54

This specialized Copilot is then made available

play01:57

as a Copilot extension for others to use.

play01:59

Let me make this real

play02:01

by walking through how Copilot extensions

play02:03

customize your experience with Copilot for Microsoft 365.

play02:07

In this example, I'm a support technician.

play02:09

And one of the things I regularly have to do

play02:11

is write a weekly report

play02:13

detailing the support cases that I've worked on.

play02:15

I'm in Copilot for Microsoft Teams,

play02:18

and I'll first start with my baseline Copilot experience

play02:21

without extensions.

play02:23

I'll write a prompt to find all the emails I sent today

play02:26

and group them by topic.

play02:28

And that finds me all of the emails I was looking for

play02:30

and groups them like I asked.

play02:32

I now want to go beyond Microsoft 365 data

play02:35

and include information and knowledge base articles

play02:37

outside of it that are on our support site.

play02:40

I'll show you the enriched experience

play02:42

with my Copilot extension first,

play02:43

and then explain what's going on under the covers.

play02:46

I'll use a different session, and paste in,

play02:49

"Summarize all the emails I sent today,

play02:52

group them by high level topic.

play02:53

For each topic, find the support wiki article

play02:56

that is most related."

play02:57

And KB articles will come from the connected site.

play03:00

Once the entire response is generated,

play03:02

I can see the matching KB articles for each topic.

play03:06

And if I look at the citations,

play03:08

these ones are the sources using my Graph connected site.

play03:11

Here, my Copilot extension is using

play03:13

a Microsoft Graph connector

play03:15

to find information from the external sources

play03:17

that are connected to the Microsoft Graph.

play03:20

Next, I'll use a different Copilot extension

play03:22

that can also perform actions

play03:24

with an external system on my behalf.

play03:26

My IT team has enabled a plugin called Doc Improvement.

play03:30

In this prompt from yesterday,

play03:31

I'll paste create a doc improvement task

play03:34

to improve that first KB article

play03:36

based on the related emails I sent.

play03:38

This doesn't need all of the detail from the previous prompt

play03:41

because Copilot gets that information from the chat history

play03:44

in this session.

play03:46

And this extension actually writes back to another system

play03:50

and creates a task for a content writer to update

play03:52

one of our KB support articles.

play03:55

After I confirm, I see a confirmation that it has created

play03:58

the doc improvement work item.

play04:00

So far I've shown how by using Copilot extensions,

play04:04

my experience as a technician

play04:05

was tailored with content specific to me,

play04:08

while enabling dynamic connections to external data

play04:11

and creating a ticket in my knowledge base system.

play04:14

Now let's look at how I can go further

play04:16

by focusing in on a specific task with a specialized Copilot

play04:20

available as a Copilot extension.

play04:22

This is our support content author Copilot,

play04:25

which my team has built

play04:26

to help us keep our knowledge base articles up to date.

play04:29

You can see that it has a few suggested prompts

play04:31

for skills or frequent tasks.

play04:33

I'll paste in update the Wiki article about remote help

play04:37

to add a first step of making sure

play04:39

that the user has logged in.

play04:41

This will first find the correct KB article,

play04:44

get its contents, understand where to insert the text,

play04:47

and then ask me to confirm.

play04:48

I can also suggest a modification,

play04:50

but let me type, go ahead,

play04:52

and let Copilot make the update.

play04:54

And one more thing I'll show you

play04:56

is how you can have multiple custom Copilots

play04:59

work together in the same conversation.

play05:02

I'll go back to the session I had with Copilot earlier.

play05:05

This time, I will at mention the support content author

play05:09

Copilot with a similar prompt.

play05:11

This performs the same job,

play05:12

but keeps me in this same session.

play05:14

Now, I'll at mention another custom Copilot

play05:16

that my team has written called Support Report Writer.

play05:20

Because it is being used in the same session,

play05:22

it has Microsoft Copilot's analysis of my email,

play05:25

as well as information about the KB article I just updated.

play05:29

Then after it's finished,

play05:30

you'll see that I now have a fully written draft report

play05:34

that I can copy into an email or a document,

play05:36

and make any additional changes.

play05:39

So, that's how Copilot extensions work.

play05:42

To build them, you can choose a low-code approach

play05:44

with Microsoft Copilot Studio,

play05:46

or an IDE like Visual Studio.

play05:48

Let's start with the low-code approach

play05:50

to build your own Copilot.

play05:52

You can get to Copilot Studio

play05:53

by going to copilotstudio.microsoft.com.

play05:56

From the Copilots tab, I just need to add a Copilot.

play06:00

And I can either use a prompt

play06:02

to describe the Copilot I want to build,

play06:04

or I can skip right to the configuration,

play06:06

which I'll do in this case.

play06:07

First, I need to give it a name,

play06:09

so I'll type in "Support Report Writer."

play06:12

For description, I've enabled clipboard history here,

play06:15

so I'll paste in the text to describe my Copilot.

play06:18

Next, instructions, give your Copilot more context

play06:21

about its purpose and how to respond.

play06:23

You can get very specific with these instructions

play06:26

using natural language.

play06:27

Here I've pasted in about 600 characters,

play06:29

but these can be up to 8,000 characters.

play06:32

Starter prompts like we saw before in our custom Copilot

play06:35

can also be added for frequent tasks

play06:37

and to help new users quickly get started.

play06:40

These are optional,

play06:41

and I'll skip this step to save a little time.

play06:43

From there, I just need to hit create.

play06:45

Once complete, I can make it available

play06:48

to the right users and groups by publishing it.

play06:50

Next, you can plug into other data,

play06:52

which can be external to, or inside of Microsoft 365.

play06:56

In the Copilot from Microsoft 365 page,

play06:59

you can see that I already have a few actions,

play07:01

including a few that point to a specific

play07:03

SharePoint locations for content.

play07:05

I'll add an action.

play07:07

Here, I can choose between a connector

play07:09

to link to the data I want,

play07:10

conversation to link to an existing solution,

play07:13

a prompt to link to a standard reusable prompt,

play07:16

and a flow containing workflow automation.

play07:19

I'll choose a conversation in my case.

play07:21

Now, I'll give it a name, "Support KB Docs Improvement."

play07:25

I'll leave the default solution,

play07:27

and you'll see that the schema name

play07:28

updates itself automatically.

play07:30

Then I'll hit create.

play07:31

And if you prefer to use an IDE like Visual Studio Code,

play07:35

let me show you the experience

play07:37

with the Microsoft Teams toolkit installed.

play07:39

I'll start with the plugin this time.

play07:41

You'll see that I have three basic JSON files

play07:44

open in my tabs.

play07:45

Swagger that JSON to connect to my API

play07:47

using specified operations and responses to send back

play07:51

when it succeeds or fails.

play07:52

Supportplugin.JSON describes the actions to take for users

play07:56

and gives more information for the model to use.

play07:59

Below that, the functions are defined to perform tasks.

play08:02

Then in runtimes, it points back to the swagger file

play08:05

and what functions are defined there.

play08:08

Finally, the manifest.JSON,

play08:10

which includes a bit more metadata including the ID,

play08:13

naming, developer, description, and branding details.

play08:16

Importantly, you'll see that in the manifest,

play08:19

I've also defined declarative Copilots.

play08:22

In my case, the content Copilot I showed you earlier.

play08:25

So let's jump into that JSON file

play08:27

to show you how to build a Copilot.

play08:30

You'll see that this file contains

play08:31

essentially the same elements that we saw in Copilot Studio.

play08:35

Things like the name, ID, and description.

play08:38

The instructions, again,

play08:39

to provide more context for your custom Copilot.

play08:42

We've also defined capabilities,

play08:44

which point to our Graph connector data.

play08:47

Actions for a plugin that points

play08:48

to our open API specification,

play08:51

and there are also conversation starters

play08:53

as suggested prompts with details

play08:55

about what those should do.

play08:57

And with that, you can get started

play08:59

building Copilot extensions for more tailored experiences,

play09:02

capable of specialized tasks with the data you specify,

play09:06

even if it sits outside of Microsoft 365.

play09:09

These capabilities will be rolling out in the coming weeks.

play09:12

To learn more and get started, check out

play09:14

copilotstudio.microsoft.com.

play09:17

Keep watching Microsoft Mechanics for all the deep dives

play09:20

and latest updates for Copilot and more.

play09:23

Subscribe if you haven't yet, and we'll see you soon.

Rate This

5.0 / 5 (0 votes)

Related Tags
Microsoft 365Copilot拡張機能外部データカスタマイズスキルエクスペリエンスコラボレーションAI技術効率化
Do you need a summary in English?