Skip to content

Commit dfff52b

Browse files
Add content on the stop button for Copilot Chat in GitHub.com (#50985)
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
1 parent 0e8a5dc commit dfff52b

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

content/copilot/github-copilot-chat/copilot-chat-in-github/using-github-copilot-chat-in-githubcom.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ Depending on the question you ask, and your enterprise and organization settings
100100
- Give me some examples of regular expressions.
101101
- Write a bash script to output today's date.
102102

103+
{% data reusables.copilot.stop-response-generation %}
103104
1. If {% data variables.product.prodname_copilot_short %} uses a Bing search to answer your question, "Results from Bing" is displayed above the response. Click this to see the search results that {% data variables.product.prodname_copilot_short %} used to answer your question.
104105
1. Within a conversation thread, you can ask follow-up questions. {% data variables.product.prodname_copilot_short %} will answer within the context of the conversation. For example, you could type "tell me more" to get {% data variables.product.prodname_copilot_short %} to expand on its last comment.
105106

@@ -141,6 +142,7 @@ Depending on the question you ask, and your enterprise and organization settings
141142

142143
{% data variables.product.prodname_copilot_short %} replies in the chat panel.
143144

145+
{% data reusables.copilot.stop-response-generation %}
144146
{% data reusables.copilot.chat-conversation-buttons %}
145147

146148
## Asking a question about a specific file or symbol
@@ -165,6 +167,7 @@ You can ask {% data variables.product.prodname_copilot_short %} about a specific
165167

166168
{% data variables.product.prodname_copilot_short %} replies in the chat panel.
167169

170+
{% data reusables.copilot.stop-response-generation %}
168171
{% data reusables.copilot.chat-conversation-buttons %}
169172

170173
## Asking a question about a knowledge base
@@ -200,6 +203,7 @@ When you enter a query, {% data variables.product.prodname_copilot_short %} sear
200203
- What's the process for creating a new REST API?
201204
- What are our best practices for logging?
202205

206+
{% data reusables.copilot.stop-response-generation %}
203207
1. The response will typically contain numbered references to files that {% data variables.product.prodname_copilot_short %} uses to generate the answer, from the knowledge base you selected. To list the sources that were used, click **NUMBER references**.
204208

205209
![Screenshot showing an expanded list of source references.](/assets/images/help/copilot/chat-sources-list.png)
@@ -249,6 +253,7 @@ You can chat with {% data variables.product.prodname_copilot_short %} about a fi
249253

250254
![Screenshot of a response to the question "What does the function at the selected lines do?"](/assets/images/help/copilot/copilot-sample-chat-response.png)
251255

256+
{% data reusables.copilot.stop-response-generation %}
252257
1. You can continue the conversation by asking a follow-up question. For example, you could type "tell me more" to get {% data variables.product.prodname_copilot_short %} to expand on its last comment.
253258
1. To clear, delete, or rename the current conversation thread, or to start a new thread, type `/` in the "Ask {% data variables.product.prodname_copilot_short %}" box, select from the options that are displayed, then press <kbd>Enter</kbd>.
254259

@@ -279,6 +284,8 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain what'
279284
- Explain this &#96;do..end&#96; block.
280285
- What's the purpose of this file?
281286

287+
{% data reusables.copilot.stop-response-generation %}
288+
282289
## Asking a question about a specific issue
283290

284291
You can ask {% data variables.product.prodname_copilot_short %} to summarize or answer questions about a specific issue.
@@ -307,6 +314,8 @@ You can ask {% data variables.product.prodname_copilot_short %} to summarize or
307314

308315
{% data variables.product.prodname_copilot_short %} responds to your request in the panel.
309316

317+
{% data reusables.copilot.stop-response-generation %}
318+
310319
## Asking a question about a specific commit
311320

312321
You can ask {% data variables.product.prodname_copilot_short %} to explain the changes in a commit.
@@ -321,8 +330,10 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain the c
321330
- Who committed these changes?
322331
- When was this commit made?
323332

324-
> [!TIP]
325-
> If you know the SHA for a commit, instead of navigating to the commit, you can ask {% data variables.product.prodname_copilot_short %} about the commit from any page in the repository on {% data variables.product.prodname_dotcom_the_website %} by including the SHA in your message. For example, `What changed in commit a778e0eab?`
333+
> [!TIP]
334+
> If you know the SHA for a commit, instead of navigating to the commit, you can ask {% data variables.product.prodname_copilot_short %} about the commit from any page in the repository on {% data variables.product.prodname_dotcom_the_website %} by including the SHA in your message. For example, `What changed in commit a778e0eab?`
335+
336+
{% data reusables.copilot.stop-response-generation %}
326337

327338
## Accessing {% data variables.product.prodname_copilot_chat_short %} from the search bar
328339

@@ -344,6 +355,8 @@ You can ask {% data variables.product.prodname_copilot_short %} a question about
344355

345356
The {% data variables.product.prodname_copilot_chat %} panel is displayed and {% data variables.product.prodname_copilot_short %} responds to your request.
346357

358+
{% data reusables.copilot.stop-response-generation %}
359+
347360
## Sharing feedback about {% data variables.product.prodname_copilot_chat_dotcom %}
348361

349362
{% data reusables.rai.copilot-dotcom-feedback-collection %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1. Optionally, click {% octicon "square-fill" aria-label="Stop" %} in the text box to stop {% data variables.product.prodname_copilot_short %} from continuing its response.

0 commit comments

Comments
 (0)