Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ecb376

Browse files
sophiethekingimanmahjoubikangarruu
authored
Copilot Chat for GitHub Mobile - [GA] (#49051)
Co-authored-by: Imen Mahjoubi <[email protected]> Co-authored-by: Ru Levin <[email protected]>
1 parent 75fa744 commit 0ecb376

19 files changed

Lines changed: 351 additions & 3 deletions

content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-copilot-in-your-enterprise.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ To manage the use of {% data variables.product.prodname_copilot_chat_dotcom_shor
8383

8484
{% data reusables.copilot.copilot-cli-enable %}
8585

86+
## Enforcing a policy to manage the use of {% data variables.product.prodname_copilot_mobile %}
87+
88+
{% data variables.product.prodname_copilot_mobile %} is a chat interface that lets you interact with {% data variables.product.prodname_copilot %}, to ask and receive answers to coding-related questions within {% data variables.product.prodname_mobile %}. You can enable or disable the use of {% data variables.product.prodname_copilot_mobile_short %} for organizations in your enterprise. Alternatively, you can allow organization owners to select their own policy for {% data variables.product.prodname_copilot_mobile_short %} for their organization. For more information, see "[AUTOTITLE](/copilot/github-copilot-chat/about-github-copilot-chat-in-github-mobile)."
89+
90+
{% data reusables.copilot.copilot-chat-mobile-enable %}
91+
8692
## Further reading
8793

8894
- [{% data variables.product.prodname_copilot %} Trust Center](https://resources.github.com/copilot-trust-center/)

content/copilot/about-github-copilot.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Using the chat feature, you can ask {% data variables.product.prodname_copilot_s
1818

1919
{% data variables.product.prodname_copilot %} is available:
2020
- In your IDE
21+
- In {% data variables.product.prodname_mobile %}, as a chat interface
2122
- On the command line, through the {% data variables.product.prodname_cli %}
2223
- On {% data variables.product.prodname_dotcom_the_website %}, with a subscription to {% data variables.product.prodname_copilot_enterprise_short %}
2324

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: About GitHub Copilot Chat in GitHub Mobile
3+
intro: '{% data variables.product.prodname_copilot_chat %} can help you by providing answers to coding related questions directly within {% data variables.product.prodname_mobile %}.'
4+
redirect_from:
5+
- /early-access/copilot/about-github-copilot-chat-in-github-mobile
6+
versions:
7+
feature: copilot-chat-for-mobile
8+
topics:
9+
- Copilot
10+
- Mobile
11+
shortTitle: About Copilot Chat (Mobile)
12+
type: rai
13+
---
14+
15+
## About {% data variables.product.prodname_copilot_mobile %}
16+
17+
{% data variables.product.prodname_copilot_mobile %} is a chat interface that lets you interact with {% data variables.product.prodname_copilot %}, to ask and receive answers to coding-related questions within {% data variables.product.prodname_mobile %}. The chat interface provides access to coding information and support without requiring you to navigate documentation or search online forums. In addition to {% data variables.product.prodname_mobile %}, {% data variables.product.prodname_copilot_chat_short %} is currently supported in {% data variables.product.prodname_dotcom_the_website %}, {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, and the JetBrains suite of IDEs. For more information about {% data variables.product.prodname_copilot %}, see "[AUTOTITLE](/copilot/overview-of-github-copilot/about-github-copilot-individual)," "[AUTOTITLE](/copilot/overview-of-github-copilot/about-github-copilot-business)," and "[AUTOTITLE](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)."
18+
19+
{% data variables.product.prodname_copilot_chat %} can answer a wide range of coding-related questions on topics including syntax, programming concepts, test cases, debugging, and more. {% data variables.product.prodname_copilot_chat %} is not designed to answer non-coding questions or provide general information on topics outside of coding.
20+
21+
The primary supported language for {% data variables.product.prodname_copilot_mobile %} is English.
22+
23+
{% data variables.product.prodname_copilot_chat %} works by using a combination of natural language processing and machine learning to understand your question and provide you with an answer. This process can be broken down into a number of steps.
24+
25+
{% data reusables.rai.copilot.about-copilot-chat-in-mobile %}
26+
27+
## Further reading
28+
29+
- "[AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-copilot-pre-release-terms)"
30+
- [{% data variables.product.prodname_copilot %} Trust Center](https://resources.github.com/copilot-trust-center/)

content/copilot/github-copilot-chat/about-github-copilot-chat.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: About GitHub Copilot Chat
2+
title: About GitHub Copilot Chat in your IDE
33
intro: '{% data variables.product.prodname_copilot_chat %} can help you by providing answers to coding related questions {% ifversion ghec %}on {% data variables.product.prodname_dotcom_the_website %} or{% endif %} directly within a supported IDE.'
4+
allowTitleToDifferFromFilename: true
45
redirect_from:
56
- /early-access/copilot/github-copilot-chat-transparency-note
67
- /early-access/copilot/github-copilot-chat-technical-preview-license-terms
@@ -9,7 +10,7 @@ versions:
910
feature: copilot
1011
topics:
1112
- Copilot
12-
shortTitle: About Copilot Chat
13+
shortTitle: About Copilot Chat (IDE)
1314
type: rai
1415
---
1516

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Enabling GitHub Copilot Chat for GitHub Mobile
3+
intro: 'You can enable or disable {% data variables.product.prodname_copilot_chat %} for your organization{% ifversion ghec %} or enterprise{% endif %}.'
4+
topics:
5+
- Copilot
6+
- Mobile
7+
versions:
8+
feature: copilot-chat-for-mobile
9+
shortTitle: Enabling Copilot Chat (Mobile)
10+
---
11+
12+
If you have a {% data variables.product.prodname_copilot_for_individuals %} subscription, {% data variables.product.prodname_copilot_mobile %} is already enabled.
13+
14+
If you are part of an organization{% ifversion ghec %} or enterprise{% endif %} with a {% data variables.product.prodname_copilot_for_business %}{% ifversion ghec %} or {% data variables.product.prodname_copilot_enterprise %}{% endif %} subscription, the organization{% ifversion ghec %} or enterprise{% endif %} owner will need to enable {% data variables.product.prodname_copilot_chat %} in the {% data variables.product.prodname_copilot_short %} settings.
15+
16+
## Enabling or disabling {% data variables.product.prodname_copilot_mobile_short %} at the organization level
17+
18+
An organization owner can enable or disable {% data variables.product.prodname_copilot_mobile_short %} for the organization. {% ifversion ghec %}You may not be able to configure this setting for your organization, if an enterprise owner has set a policy at the enterprise level.{% endif %} If your organization has a {% data variables.product.prodname_copilot_for_business %} subscription, {% data variables.product.prodname_copilot_mobile_short %} is disabled by default.
19+
20+
{% data reusables.profile.access_org %}
21+
{% data reusables.profile.org_settings %}
22+
{% data reusables.copilot.policy-settings %}
23+
1. To the right of "{% data variables.product.prodname_copilot_mobile_short %}", select the dropdown menu, then click **Enabled** or **Disabled**.
24+
25+
{% ifversion ghec %}
26+
27+
## Enabling or disabling {% data variables.product.prodname_copilot_mobile_short %} at the enterprise level
28+
29+
An enterprise owner can choose whether to enable a feature for all organizations, disable for all organizations, or allow each organization to choose its own policy for the feature.
30+
31+
{% data reusables.copilot.copilot-chat-mobile-enable %}
32+
33+
{% endif %}
34+
35+
## Next steps
36+
37+
You successfully enabled {% data variables.product.prodname_copilot_mobile_short %} for your organization{% ifversion ghec %} or enterprise{% endif %}. To learn more about how to use it, see "[AUTOTITLE](/copilot/github-copilot-chat/using-github-copilot-chat-in-github-mobile)."

content/copilot/github-copilot-chat/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ versions:
77
topics:
88
- Copilot
99
children:
10+
- /about-github-copilot-chat-in-github-mobile
11+
- /enabling-github-copilot-chat-for-github-mobile
12+
- /using-github-copilot-chat-in-github-mobile
1013
- /about-github-copilot-chat
1114
- /using-github-copilot-chat-in-your-ide
1215
---
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
---
2+
title: Using GitHub Copilot Chat in GitHub Mobile
3+
intro: 'You can use {% data variables.product.prodname_copilot_mobile %} to answer general questions about software development{% ifversion ghec %}, or specific questions about the code in a repository{% endif %}.'
4+
topics:
5+
- Copilot
6+
- Mobile
7+
versions:
8+
feature: copilot-chat-for-mobile
9+
shortTitle: Use Copilot Chat (Mobile)
10+
---
11+
12+
## Overview
13+
14+
{% data variables.product.prodname_copilot_chat %} is a chat interface that lets you ask and receive answers to coding-related questions in {% data variables.product.prodname_mobile %}. You can also use {% data variables.product.prodname_copilot_chat %} {% ifversion ghec %}on either {% data variables.product.prodname_dotcom_the_website %} or{% endif %} within a supported IDE. For information on using {% data variables.product.prodname_copilot_chat %} in an IDE, see "[AUTOTITLE](/copilot/github-copilot-chat/using-github-copilot-chat-in-your-ide)."
15+
16+
{% data variables.product.prodname_copilot_mobile_short %} can help you with a variety of coding-related tasks, like offering you code suggestions, providing natural language descriptions of a piece of code's functionality and purpose, generating unit tests for your code, and proposing fixes for bugs in your code. For more information, see "[AUTOTITLE](/copilot/github-copilot-chat/about-github-copilot-chat-in-github-mobile)."
17+
18+
{% ifversion ghec %}
19+
In {% data variables.product.prodname_mobile %}, you can use {% data variables.product.prodname_copilot_chat_short %} to ask:
20+
21+
- General software-related questions, without a particular context. For more information, see "[Asking a general question about software development](#asking-a-general-question-about-software-development)."
22+
- Questions asked in the context of your project. For more information, see "[Asking questions about a specific repository](#asking-exploratory-questions-about-a-repository)."
23+
- Questions about a specific file or specified lines of code within a file. For more information, see "[Asking questions about specific pieces of code](#asking-questions-about-specific-pieces-of-code)."{% endif %}
24+
25+
## Limitations
26+
27+
The following {% ifversion fpt%}limitation applies{% else %} limitations apply{% endif %} to {% data variables.product.prodname_copilot_mobile_short %}:
28+
29+
{% ifversion ghec%}
30+
- Chat responses may be suboptimal if you ask questions about a specific repository that you've selected as a context, and the repository has not been indexed for semantic code search. Anyone who gets access to {% data variables.product.prodname_copilot_short %} from the organization that owns a repository can index that repository.{% endif %}
31+
- The quality of the results from {% data variables.product.prodname_copilot_chat_short %} may, in some situations, be degraded if very large files, or a large number of files, are used as a context for a question.
32+
33+
## Prerequisites
34+
35+
To use {% data variables.product.prodname_copilot_mobile_short %} you will need the following.
36+
37+
- **Subscription to {% data variables.product.prodname_copilot %}**: You must have an active {% data variables.product.prodname_copilot %} subscription. For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)."
38+
39+
If you do not have a {% data variables.product.prodname_copilot %} subscription, you can purchase a {% data variables.product.prodname_copilot_individuals_short %} subscription directly in the iOS version of {% data variables.product.prodname_mobile %}, or in the Google Play Store for the Android version of {% data variables.product.prodname_mobile %}.
40+
41+
- **Access to {% data variables.product.prodname_copilot_mobile_short %}**: If you are part of an organization{% ifversion ghec %} or enterprise{% endif %} with a {% data variables.product.prodname_copilot_for_business %}{% ifversion ghec %} or {% data variables.product.prodname_copilot_enterprise %}{% endif %} subscription, the organization{% ifversion ghec %} or enterprise{% endif %} owner will need to grant you access to {% data variables.product.prodname_copilot_cli_short %}. For more information, see "[AUTOTITLE](/copilot/github-copilot-chat/enabling-github-copilot-chat-for-github-mobile)."
42+
- **Enable {% data variables.product.prodname_copilot_short %} features for your device**: {% data variables.product.prodname_copilot_short %} needs to be enabled from within {% data variables.product.prodname_mobile %}. For more information, see "[AUTOTITLE](/copilot/using-github-copilot/getting-started-with-github-copilot#enabling-or-disabling-copilot-in-github-mobile)."
43+
44+
## Asking a general question about software development
45+
46+
You can ask a general question about software development{% ifversion ghec %} that is not focused on a particular context, such as a repository{% endif %}.
47+
48+
1. In {% data variables.product.prodname_mobile %}, tap the **{% octicon "copilot" aria-hidden="true" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen.
49+
50+
> [!NOTE]
51+
> The **{% octicon "copilot" aria-hidden="true" %}** {% data variables.product.prodname_copilot %} icon is not shown on every page in {% data variables.product.prodname_mobile %}. If you don't see the icon, navigate to a different page in {% data variables.product.prodname_mobile %} and look for the icon there.
52+
53+
1. If the page displays a previous conversation you had with {% data variables.product.prodname_copilot_short %}, tap {% octicon "kebab-horizontal" %} in the top right corner of the screen, and then tap **New conversation {% octicon "plus" aria-hidden="true" %}**.
54+
1. At the bottom of the page, in the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message.
55+
56+
Some examples of general questions you could ask are:
57+
- What are the advantages of the Go programming language?
58+
- What is Agile software development?
59+
- What is the most popular JavaScript framework?
60+
- Give me some examples of regular expressions.
61+
- Write a bash script to output today's date.
62+
63+
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.
64+
65+
You can use your initial question as a foundation for follow-up questions. A detailed foundational prompt can help {% data variables.product.prodname_copilot_short %} provide more relevant answers to your follow-up questions. For more information, see "[Prompting {% data variables.product.prodname_copilot_chat %} to become your personal AI assistant for accessibility](https://github.blog/2023-10-09-prompting-github-copilot-chat-to-become-your-personal-ai-assistant-for-accessibility/)" on the {% data variables.product.prodname_dotcom %} Blog.
66+
67+
{% data reusables.copilot.chat-mobile-conversation-buttons %}
68+
69+
{% ifversion ghec %}
70+
71+
## Asking exploratory questions about a repository
72+
73+
You can ask questions about a specific repository, to get help with understanding the code, or to get help with a specific task you're working on.
74+
75+
1. In {% data variables.product.prodname_mobile %}, navigate to a repository, and tap the **{% octicon "copilot" aria-hidden="true" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen.
76+
1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message.
77+
78+
For example, if you chose the repository you are working in as the context, you could ask:
79+
80+
- What is the main purpose of this repo? What problem does it solve or what functionality does it provide?
81+
- What web frameworks are used in this project?
82+
- Where is rate limiting implemented in our API?
83+
- How is the code organized? Explain the project architecture.
84+
- Are there any specific environment requirements for working on this project?
85+
86+
> [!IMPORTANT]
87+
> {% data variables.product.prodname_copilot_short %}'s ability to answer natural language questions like these in a repository context is improved when the repository has been indexed for semantic code search. However, only members of an enterprise with a {% data variables.product.prodname_copilot_enterprise %} subscription can index a repository for semantic code search. Without indexing, {% data variables.product.prodname_copilot_mobile_short %} may not be able to provide the most relevant answers to your questions.
88+
>
89+
> Additionally, indexing a repository is not possible in {% data variables.product.prodname_mobile %}. To index a repository, you must use {% data variables.product.prodname_copilot_chat_short %} in a web browser. For more information, see step 6 of "[Asking a question about a specific repository, file or symbol](/copilot/github-copilot-enterprise/copilot-chat-in-github/using-github-copilot-chat-in-githubcom)."
90+
91+
{% data reusables.copilot.chat-mobile-conversation-buttons %}
92+
93+
## Asking questions about specific pieces of code
94+
95+
You can chat with {% data variables.product.prodname_copilot_short %} about a file in your repository, or about specific lines of code within a file.
96+
97+
1. In {% data variables.product.prodname_mobile %}, navigate to a repository and open a file.
98+
1. Do one of the following:
99+
- To ask a question about the entire file, tap the {% data variables.product.prodname_copilot_short %} icon ({% octicon "copilot" aria-hidden="true" %}) in the bottom right corner of the file view.
100+
- To ask a question about specific lines within the file, select and copy the lines you want to ask about. Then tap the {% data variables.product.prodname_copilot_short %} icon ({% octicon "copilot" aria-hidden="true" %}) and paste the copied lines in the {% data variables.product.prodname_copilot_chat_short %} input field.
101+
102+
1. Type a question in the "Ask {% data variables.product.prodname_copilot_short %}" box at the bottom of the chat panel and send the message.
103+
104+
For example, if you are asking about the entire file, you could enter:
105+
106+
- Explain this file.
107+
- How could I improve this code?
108+
- How can I test this script?
109+
110+
If you are asking about specific lines, you could enter:
111+
112+
- How could I improve this class?
113+
- Add error handling to this code.
114+
- Write a unit test for this method.
115+
116+
{% data variables.product.prodname_copilot_short %} responds to your request in the panel.
117+
118+
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.
119+
120+
{% endif %}
121+
122+
## Sharing feedback about {% data variables.product.prodname_copilot_mobile %}
123+
124+
To give feedback about a particular {% data variables.product.prodname_copilot_chat_short %} response:
125+
126+
1. Tap the ellipsis (**...**) in the top right corner above the chat response you want to provide feedback on, and tap either **Like {% data variables.product.prodname_copilot_short %} response {% octicon "thumbsup" aria-label="The thumbs up icon" %}** or **Dislike {% data variables.product.prodname_copilot_short %} response {% octicon "thumbsdown" aria-label="The thumbs down icon" %}**,
127+
1. Optionally, provide information about why you liked or disliked the response.
128+
1. Tap **Submit**.

content/copilot/github-copilot-chat/using-github-copilot-chat-in-your-ide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ redirect_from:
88
defaultTool: vscode
99
versions:
1010
feature: copilot
11-
shortTitle: Using Copilot Chat
11+
shortTitle: Use Copilot Chat (IDE)
1212
---
1313

1414
{% vscode %}

content/copilot/managing-github-copilot-in-your-organization/managing-policies-and-features-for-copilot-in-your-organization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ shortTitle: Managing policies
5353
- "[AUTOTITLE](/copilot/using-github-copilot/finding-public-code-that-matches-github-copilot-suggestions)"
5454
{% ifversion ghec %}- "[AUTOTITLE](/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise)"{% endif %}
5555
- "[AUTOTITLE](/copilot/github-copilot-chat/about-github-copilot-chat)"
56+
- "[AUTOTITLE](/copilot/github-copilot-chat/about-github-copilot-chat-in-github-mobile)"
5657
- "[AUTOTITLE](/copilot/github-copilot-in-the-cli/about-github-copilot-in-the-cli)"

0 commit comments

Comments
 (0)