GitHub Copilot Update Since GitHub Universe 2023

1.1K Views

January 18, 24

スライド概要

.NET の 2 日間 2024 冬 (1 日目) ~3 コミュニティ合同イベント~
https://dotnet-communities.connpass.com/event/294588/

profile-image

FPT ジャパン エグゼクティブエバンジェリスト 独立行政法人 国立印刷局 デジタル統括アドバイザー兼最高情報セキュリティアドバイザー Microsoft で C#、.NET、Visual Studio、Windows、iOS、Android、Microsoft Azure 等の開発者向け技術啓発活動を担当後、Dell、Accenture、Elastic、VMware を経て現職まで一貫して同様の活動を継続。現職では NVIDIA AI GPU クラウドサービス、各パブリッククラウドとの AI 関連での協業、マーケティングを担当。政府の仕事は、内閣官房 政府 CIO 補佐官、 デジタル庁 PM を経て、現職を兼務。

シェア

またはPlayer版

埋め込む »CMSなどでJSが使えない場合

ダウンロード

関連スライド

各ページのテキスト
1.

GitHub Copilot Update Since GitHub Universe 2023 鈴⽊ 章太郎 主席エンタープライズアーキテクト ヴイエムウェア株式会社 January 18, 2024 .NET の 2 ⽇間 2024 冬 (1 ⽇⽬) 〜3 コミュニティ合同イベント〜 https://dotnet-communities.connpass.com/event/294588/ Broadcom Proprietary Proprietary and Confidential. and Confidential. CopyrightCopyright © 2023 Broadcom. © 2023 Broadcom. All RightsAll Reserved. Rights Reserved. The term The “Broadcom” term “Broadcom” refers to Broadcom refers to Broadcom Inc. and/or Inc. itsand/or subsidiaries. its subsidiaries. 1 | Broadcom

2.

鈴⽊ 章太郎 X (Twitter) : @shosuz ヴイエムウェア株式会社 主席エンタープライズアーキテクト Microsoft で13年間、テクニカルエバンジェリストとして .NET、Visual Studio、Windows、iOS、Android、Microsoft Azure 等の開発者向け技術啓発活動を実施。 その後 Dell、Accenture、Elastic での開発者向け技術 啓発 活動等を経て現職。 モダンアプリケーション開発、マルチクラウド対応、アーキテクチャ 策定等を中⼼に、開発者向け最新技術啓発活動中。 2019年4⽉より2021年8⽉まで、内閣官房 IT 総合戦略室 政府 CIO 補佐官、2021年9⽉より、デジタル庁 プロジェクトマ ネージャーユニット ソリューションアーキテクトを兼務。 https://www.docswell.com/user/shosuz 2 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

3.

OpenAI AI モデルの機能 OpenAI AI モデルの機能 は主に3 つの カテゴリ 機能 例 ⾃然⾔語の⽣成 GPT さまざまな読み取りレベルの複雑なテキストの 要約、⽂章の⽂⾔の代替の提案など コードの⽣成 Codex プログラミング⾔語間でのコードの翻訳、コード 内のバグの特定とトラブルシューティングなど イメージの⽣成 DALL-E テキスト説明からのパブリケーション⽤イメージ の⽣成など 3 3 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

4.

今回の実⾏環境 2024年1⽉時点での最新版 • Visual Studio Code 1.85.1 • GitHub Copilot v.1.151.0 • GitHub Copilot Chat v.0.11.1 • Billing 有効、GPT-4 有効(次々ページ) 4 4 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

5.

https://github.blog/changelog/2023-11-30-github-copilot-november-30th-update/ • • • • • • • • Copilot Chat による GPT–4の利⽤ Copilot Chat のオフトピックモデルの改善 VS Code でのコード参照のパブリックベータ移⾏ VS Code Copilot Chat への“エージェント"導⼊ VS Code Copilot Chatでの /explain コンテキスト改善 VS Code Copilot を使⽤したメッセージ⽣成のコミット VS Code Copilot メニューの更新 JetBrains によるコード提案の部分的な受け⼊れ Broadcom Proprietary Proprietary and Confidential. and Confidential. CopyrightCopyright © 2023 Broadcom. © 2023 Broadcom. All RightsAll Reserved. Rights Reserved. The term The “Broadcom” term “Broadcom” refers to Broadcom refers to Broadcom Inc. and/or Inc. itsand/or subsidiaries. its subsidiaries. 5 | Broadcom

6.

Copilot Chat による GPT–4の利⽤ • Copilot Chat エクスペリエンスをアップグレードし • OpenAI の GPT – 4 モデル を使⽤して、より正確で有⽤なコード提案を提供 6 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

7.

Copilot Chat のオフトピックモデルの改善 • 安全機能の⼀環として、 プログラミングに関係のないチャットクエリを検出するために、トピック外 のモデルを改善 • これにより、 フィルタリングされた応答が⼤幅に減少する 7 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

8.

VS Code でのコード参照のパブリックベータ移⾏ - 1 • VS Codeでのコード参照のプライベートベ ータ版 を発表(2023/8) パブリックな GitHub リポジトリ上の数⼗ 億のファイルを対象に Copilot の提案 に ⼀致するコードを検索 • 元のフローでは、通知が多すぎるという フィードバック • → ⼀致があった場合、 ユーザーは、⼀致が 発⽣した場所、該当するライセンス、詳細を 確認するためのディープ リンクなどの情報が Copilot コンソールログに表⽰される → コードリファレンスに興味がある場合は、 このウィンドウを参照、そうでない場合そのまま • • 8 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

9.

VS Code でのコード参照のパブリックベータ移⾏ - 2 9 • ディープ リンクにより、GitHub.com 上のナ ビ ゲート可能なページに移動 • コード⼀致例とそのリポジトリライセンスを 参照 • そのコードが含まれるリポジトリ (ライセンス のないものも含む) の数とそれらリポジトリ へのリンクを確認できる | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

10.

VS Code Copilot Chat への“エージェント"導⼊ Copilot Chat との対話を強化するため エージェントは、特定のタスクを⽀援できる 専⾨家のようなもの @ 記号を使⽤しチャットでメンション可能 現在、利⽤可能なエージェントは 2 つ • • • @ workspace : ワークスペース内のコードに関する知識を持ち、 関連するファイルやクラスを⾒つけて、コードを ナビゲートするのを⽀援 メタプロンプトを使⽤し、質問に答えるために ワークスペースからどの情報を収集するか決定 @ vscode : VS Code エディター⾃体のコマンドと機能につ いての知識があり、それらの使⽤を⽀援 • • • • • 10 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

11.

VS Code Copilot Chat での /explain コンテキスト改善 • アクティブな エディターでのコード選択時の説明を Copilot Chatに依頼する⽅法 1. @workspace /explain コマンドを使⽤ 2. コンテキストメニューの [Copilot で説明] アクションを使⽤ • Copilot Chat には、 関数 やクラス などの参照シンボルの実装が統合され、より正確で有 ⽤な説明が得られる • TypeScript/JavaScript、Python、Java、C#、C++、Go、Ruby いずれかの⾔語に対応する ⾔語サービスに貢献する拡張機能がインストールされている場合、ファイル間で最も効果 的に機能する 11 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

12.

12 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

13.

13 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

14.

VS Code Copilot を使⽤したメッセージ⽣成のコミット • Copilot はソース管理⼊⼒ボックスの新しい「スパークル」アクションを使⽤ • 保留中の変更に基づいてコミットメッセージを⽣成できるようになった 14 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

15.

VS Code Copilot メニューの更新 • VS Code の Copilot メニューがより⾒やすくなり JetBrains IDE の設計と⼀致 • Copilot の現在のステータスを理解し、様々な設定やドキュメントへのアクセスが容易に • VS Code ステータスバーの右下隅の Copilot アイコンをクリックすると新しいメニューが表⽰ 15 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

16.

16 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

17.

JetBrains Plugins Updates • Ver 1.4.9.4300 17 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

18.

JetBrains によるコード提案の部分的な受け⼊れ • JetBrains IDE の Copilot 拡張機能がレベルアップ • 単語ごと、または⾏ごとに、コードの提案を少しずつ柔軟に組み込むことができる様に変更 • ショートカットは必要に応じて⾃由にカスタマイズ可能 18 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

19.

19 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

20.

GitHub Mobile 最新アップデート https://github.co.jp/mobile.html • GitHub Projects の統合 • GitHub Copilot Chat の統合 • プッシュ通知の改善 20 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

21.

The latest GitHub previews ✨ https://github.com/features/preview Copilot Enterprise Copilot Chat in JetBrains IDEs Copilot fine-tuning Security Overview Dashboard GitHub Advanced Security AIpowered AppSec Copilot in the CLI Copilot code referencing Enterprise managed users' organization repository access for non-members GitHub Enterprise managed User Public SCM • • • • • • • • • 21 | Broadcom Proprietary and Confidential. Copyright © 2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

22.

Thank you for your attention! Broadcom Proprietary Proprietary and Confidential. and Confidential. CopyrightCopyright © 2023 Broadcom. © 2023 Broadcom. All RightsAll Reserved. Rights Reserved. The term The “Broadcom” term “Broadcom” refers to Broadcom refers to Broadcom Inc. and/or Inc. itsand/or subsidiaries. its subsidiaries. 22 | Broadcom