共用方式為


Microsoft Copilot 在 Azure 平台中使用 Azure SQL 資料庫

適用於:Azure SQL 資料庫

Azure 中的 Microsoft Copilot搭配 Azure SQL Database 是 Microsoft Azure Copilot 體驗的一項功能,增強了 Azure 服務的管理和操作,為依賴 SQL 的應用程式提供強大的功能。 它提供了一個對話式介面,讓使用者可以與他們的資料庫互動,允許他們根據資料庫的內容提出問題並接收相關的答案。 它藉由提供資料庫管理的自助服務,改善 Azure 入口網站中的生產力。 這使得開發人員和資料庫管理員能更簡便地管理他們的資料庫、解決問題,並優化性能。

本文概述了在 Azure 中使用 Microsoft Copilot 和 Azure SQL Database,涵蓋其功能、運作方式以及有效使用的最佳實踐。

Copilot 在 Azure SQL Database 中的運作原理

現在,Microsoft Copilot 在 Azure 已整合進 Azure SQL Database。

Azure SQL Database 的 Copilot 使用大規模語言模型(LLMs)來分析您資料庫的上下文,並為您的問題提供相關的答案。 它使用各種數據來源,包括公共文檔、動態管理視圖、目錄視圖和 Azure 支援性診斷,以生成適用的回應。 這允許用戶以自然語言提出問題,並獲得詳細的解釋和針對其數據庫相關查詢的建議。

Features of Copilot in Azure SQL Database

Copilot 提供使用者問題的相關解答,藉由套用資料庫內容、文件、動態管理檢視、查詢存放區和其他知識來源來簡化資料庫管理。

例如:

  • 資料庫管理員可以獨立管理資料庫並解決問題,或深入了解資料庫的效能和功能。

  • 開發人員可以詢問有關資料的問題,就像在文字或對話中一樣,以產生 T-SQL 查詢。 透過所產生查詢的詳細說明,開發人員還可了解如何快速撰寫查詢。

  • Microsoft Copilot in Azure integration: This experience adds Azure SQL Database skills into Microsoft Copilot in Azure, customers with self-guided assistance, empowering them to manage their databases and solve issues independently.

  • Copilot 會整合資料,並使用公用文件、動態管理檢視、目錄檢視和 Azure 可支援性診斷來制定適用的回應。

在您的 Azure 租用戶中啟用 Copilot

For information on enabling Microsoft Copilot, visit What is Microsoft Copilot for Azure.

Best practices for using Copilot in Azure SQL Database

您可以在 Azure 入口網站內向 Microsoft Azure Copilot 詢問並接收實用且內容豐富的建議。

考慮您正在使用的 Azure SQL 資料庫以及您的問題背景。 您越具體,回應就會越好。 舉例來說,如果您詢問關於某個特定資料庫的信息,Copilot 會提供與該資料庫相關的資訊。

此外,如果您是在詢問 Copilot 有關於與當前資料庫服務或頁面不同的資料庫的問題,結果可能不明確,並且更有可能給您不良輸出。

範例提示

以下範例提示清晰、具體,並針對您的架構和資料庫的屬性量身定制。

You can provide prompts for the Microsoft Copilot in Azure around different capability areas.

  - What service tier should I use for this database?
  - Which connection string should I use to connect to my database?
  - Why was my database unavailable?

如需更多提示的列表,請訪問樣本提示列表

備註

Copilot 使用 AI 技術,因此可能會發生意外和錯誤。

Responsible AI in Microsoft Copilot in Azure

Microsoft 致力於負責任的 AI。 我們正不斷努力提高我們 AI 系統的品質和安全性。 微軟在Azure中提供的Copilot旨在幫助您提高工作效率,但重要的是要記住它並不能替代人類的判斷。 請務必在使用 Copilot 的結果於生產環境前進行審查。

For more information on how Microsoft implements responsible AI tools in Microsoft Copilot in Azure, see Responsible AI FAQ for Microsoft Copilot in Azure.