You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ssms/github-copilot/ai-models.md
+9-14Lines changed: 9 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,45 +5,40 @@ description: Learn how to select different models in the GitHub Copilot Chat exp
5
5
author: erinstellato-ms
6
6
ms.author: erinstellato
7
7
ms.reviewer: randolphwest
8
-
ms.date: 11/11/2025
8
+
ms.date: 12/04/2025
9
9
ms.service: sql-server-management-studio
10
10
ms.topic: how-to
11
11
ms.collection:
12
12
- ce-skilling-ai-copilot
13
13
ms.update-cycle: 180-days
14
-
# CustomerIntent: As a database administrator or database developer, I want to understand how to use GitHub Copilot Chat in SQL Server Management Studio.
14
+
# CustomerIntent: As a database administrator or database developer, I want to make models available for GitHub Copilot in SQL Server Management Studio.
15
15
---
16
16
# Get started with AI models in the GitHub Copilot Chat experience in SQL Server Management Studio (Preview)
17
17
18
-
With [!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)], GitHub Copilot in SSMS uses GPT-4.1 as the default model to provide fast response times, high-quality suggestions, and improve efficiency for coding tasks.
18
+
With [!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)], GitHub Copilot in SSMS selects a default model to provide fast response times, high-quality suggestions, and improve efficiency for coding tasks. The default model varies based on your subscription.
19
19
20
20
However, you're not limited to using this model. You can also select a different model that best fits your requirements.
21
21
22
22
## Available models
23
23
24
-
Choose from a curated set of models in the model picker:
24
+
Choose from a curated set of models in the model picker, such as:
25
25
26
26
- GPT-5
27
+
- GPT-5 mini
28
+
- GPT-4.1
29
+
- GPT-4o
27
30
- Claude Sonnet 3.5
28
31
- Claude Sonnet 4
29
32
- Claude Sonnet 4.5
30
33
- Claude Haiku 4.5
31
34
- Gemini 2.5 Pro
32
-
- GPT-4.1
33
-
- GPT-5 mini
34
-
- GPT-4o
35
-
36
-
Model selection capabilities include:
37
-
38
-
- Persistent selection: The model that you choose remains selected across chat threads.
39
-
40
-
- Ability to enable models directly: If a model is available in your plan but not yet enabled, you see a prompt in the model picker to activate it.
41
35
42
-
-Model availability depends on your Copilot subscription and the current status of each model. For Copilot Enterprise and Business, administrators must enable the Preview policy in Copilot settings before models are available in SSMS.
36
+
Model availability depends on your Copilot subscription and the current status of each model. For Copilot Enterprise and Business, administrators must enable the Preview policy in Copilot settings before models are available in SSMS.
43
37
44
38
## Related content
45
39
46
40
-[AI model comparison](https://docs.github.com/copilot/reference/ai-models/model-comparison)
41
+
-[Hosting of models for GitHub Copilot Chat](https://docs.github.com/copilot/reference/ai-models/model-hosting)
47
42
-[Requests in GitHub Copilot](https://docs.github.com/copilot/concepts/billing/copilot-requests#premium-requests)
Copy file name to clipboardExpand all lines: ssms/github-copilot/chat.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to use the GitHub Copilot Chat experience in SQL Server M
5
5
author: erinstellato-ms
6
6
ms.author: erinstellato
7
7
ms.reviewer: randolphwest
8
-
ms.date: 11/11/2025
8
+
ms.date: 12/04/2025
9
9
ms.service: sql-server-management-studio
10
10
ms.topic: how-to
11
11
ms.collection:
@@ -15,7 +15,7 @@ ms.update-cycle: 180-days
15
15
---
16
16
# Use the GitHub Copilot Chat experience in SQL Server Management Studio (Preview)
17
17
18
-
The Chat window for GitHub Copilot in SQL Server Management Studio (SSMS) enables enhanced AI-assisted database administration and development in SSMS, helping you be more productive and efficient when working with your SQL database.
18
+
The Chat window for GitHub Copilot in SQL Server Management Studio (SSMS) enables enhanced AI-assisted database administration and development in SSMS, helping you be more productive and efficient when working with your SQL database. Currently, the chat window only executes `SELECT` queries (read-only).
19
19
20
20
In this article, you learn about using GitHub Copilot Chat in SSMS, a fully integrated AI-powered chat experience from GitHub Copilot that exists directly in SSMS. It enables you to get Transact-SQL (T-SQL) support, including syntax and context-specific help, without leaving the SSMS UI. Use the chat interface to submit your question as prompt and provide intent for better scoped answers.
21
21
@@ -52,7 +52,7 @@ Ask database and T-SQL questions in natural language and GitHub Copilot Chat wil
52
52
53
53
There are two places you can ask Copilot these questions; in the chat window, or directly inline in the code that you're looking to modify, using inline chat. For questions where your goal is to modify or add to the SQL file you have open in the editor, the inline chat view might work best, whereas more general T-SQL questions are best answered in the chat pane.
54
54
55
-
See tips to improve Copilot chat results to learn how to use [slash commands](chat-context.md#use-slash-commands-for-code-assistance), [reference files](chat-context.md#reference-other-files), and [threads](chat-context.md#manage-chat-history-context-with-threads) to get better answers with scoped context in Copilot Chat.
55
+
To improve Copilot chat results, learn how to use [slash commands](chat-context.md#use-slash-commands-for-code-assistance), [reference files](chat-context.md#reference-other-files), and [threads](chat-context.md#manage-chat-history-context-with-threads) to get better answers with scoped context in Copilot Chat.
56
56
57
57
### Ask questions in the chat window
58
58
@@ -75,8 +75,12 @@ The inline chat view of Copilot Chat in SSMS enables you to ask your questions a
75
75
1. You can promote your inline chat thread to the chat window by selecting **View in chat window**. This preserves the record and context of your conversation, and you can continue in the chat window.
76
76
1. Select **Esc** to close the inline chat view.
77
77
78
+
> [!NOTE]
79
+
> Queries from GitHub Copilot in SSMS are executed under the context of the user's login and permissions, whether from the chat window or inline chat view. There are no separate permissions for GitHub Copilot in SSMS.
80
+
78
81
## Related content
79
82
80
83
-[Get started with GitHub Copilot in SQL Server Management Studio (Preview)](get-started.md)
84
+
-[Hosting of models for GitHub Copilot Chat](https://docs.github.com/copilot/reference/ai-models/model-hosting)
81
85
-[Add context for GitHub Copilot in SQL Server Management Studio (Preview)](chat-context.md)
82
86
-[Troubleshoot GitHub Copilot in SQL Server Management Studio (Preview)](troubleshoot.md)
Copy file name to clipboardExpand all lines: ssms/github-copilot/get-started.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to get started using GitHub Copilot in SQL Server Managem
5
5
author: erinstellato-ms
6
6
ms.author: erinstellato
7
7
ms.reviewer: randolphwest
8
-
ms.date: 11/11/2025
8
+
ms.date: 12/04/2025
9
9
ms.service: sql-server-management-studio
10
10
ms.topic: how-to
11
11
ms.collection:
@@ -49,7 +49,7 @@ Open a query editor window and connect to a database. Within the Chat window, th
49
49
50
50
Support for GitHub Copilot Chat is provided by [GitHub](https://support.github.com).
51
51
52
-
To learn more about Copilot's security, privacy, compliance, and transparency, see the [GitHub Copilot Trust Center FAQ](https://copilot.github.trust.page/faq).
52
+
To learn more about Copilot's security, privacy, compliance, and transparency, see the [GitHub Copilot Trust Center FAQ](https://copilot.github.trust.page/faq) and [Response use of GitHub Copilot features](https://docs.github.com/copilot/responsible-use).
0 commit comments