Copilot: Add new chat prompts that will use the API skill (#52030)
Co-authored-by: Felicity Chapman <felicitymay@github.com> Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 50 KiB |
BIN
assets/images/help/copilot/indexed-repo.png
Normal file
BIN
assets/images/help/copilot/indexed-repo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
@@ -27,7 +27,9 @@ After you index a repository it is automatically re-indexed every time a change
|
||||
1. On {% data variables.product.prodname_dotcom_the_website %}, browse to the repository you want to index.
|
||||
1. On any page, click the **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** icon in the upper-right corner.
|
||||
|
||||
The indexing status of the repository is displayed near top of the {% data variables.product.prodname_copilot_short %} Chat panel.
|
||||
If the repository has been indexed, this is shown near top of the {% data variables.product.prodname_copilot_short %} Chat panel.
|
||||
|
||||

|
||||
|
||||
1. If the repository has not been indexed, an **Index REPOSITORY NAME** button is displayed. Click this button to start the indexing process.
|
||||
|
||||
|
||||
@@ -106,19 +106,31 @@ Depending on the question you ask, and your enterprise and organization settings
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} allows you to use natural language questions to explore repositories on {% data variables.product.prodname_dotcom %}. This can help you get a better understanding of where specific aspects of a codebase are implemented.
|
||||
|
||||
{% data reusables.copilot.go-to-copilot-page %}
|
||||
1. On the {% data variables.product.prodname_dotcom %} website, go to the repository you want to chat about.
|
||||
|
||||
{% data reusables.copilot.ask-copilot-not-displayed %}
|
||||
1. Click the **{% octicon "copilot" aria-hidden="true" %}** {% data variables.product.prodname_copilot %} icon at the top right of the page.
|
||||
|
||||
1. In the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and press <kbd>Enter</kbd>.
|
||||
The {% data variables.product.prodname_copilot_chat %} panel is displayed. To resize the panel, click and drag the top or left edge.
|
||||
|
||||
1. The heading at the top of the panel should read "Chatting about" followed by the name of the current repository.
|
||||
|
||||
If the wrong repository name is displayed, because you were previously chatting about another repository, click **All repositories** then choose the repository you want to chat about.
|
||||
|
||||

|
||||
|
||||
1. In the "Ask {% data variables.product.prodname_copilot_short %}" box, at the bottom of the chat panel, type a question and press <kbd>Enter</kbd>.
|
||||
|
||||
For example, you could ask:
|
||||
|
||||
* When was the most recent release?
|
||||
* Where is rate limiting implemented in our API?
|
||||
* How does the WidgetFactory class work?
|
||||
* Where is the code for converting an organization member to be an outside collaborator?
|
||||
* Where is the code for updating a phone number?
|
||||
* Where are SAT tokens generated?
|
||||
* Show the most recently updated issues assigned to USERNAME
|
||||
* List open issues about SUBJECT
|
||||
* What was the last merged PR by USERNAME
|
||||
* What are the latest commits to the main branch by USERNAME
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} replies in the chat panel.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user