Skip to content

Commit

Permalink
Sync from github/docs@956ba01 by PCIT
Browse files Browse the repository at this point in the history
  • Loading branch information
khs1994 committed Nov 5, 2024
1 parent 6848da2 commit 8116bda
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 36 deletions.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2971,6 +2971,7 @@
- Oauth Authorizations
* [REST API Endpoints For O Auth App Authorizations](rest/oauth-authorizations/oauth-authorizations.md)
- Orgs
* [REST API Endpoints For API Insights](rest/orgs/api-insights.md)
* [REST API Endpoints For Blocking Users](rest/orgs/blocking.md)
* [REST API Endpoints For Custom Properties](rest/orgs/custom-properties.md)
* [REST API Endpoints For Custom Repository Roles](rest/orgs/custom-roles.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ Pending invitations to join an organization that belongs to your enterprise on {
You can use the following payment methods for usage-based billing for licenses:

* Invoiced and self-serve {% data variables.product.prodname_enterprise %} customers can pay using a **credit card** or **PayPal**
* Invoiced customers can also pay using **prepaid credits** (only available to customers who have a volume subscription with or without metered add-ons)
* You can connect an **Azure** subscription to your enterprise
* For **purchase orders**, you can contact your account manager in {% data variables.contact.contact_enterprise_sales %}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ On this page, you can view your usage in the following categories:

{% endif %}

## Viewing prepaid credits

Your prepaid credits are shown above the "Metered usage" graph. To add more prepaid credits, you can contact your account manager in {% data variables.contact.contact_enterprise_sales %}.

If you don't currently use prepaid credits, but have a volume subscription and would like to use credits, you can contact your account manager in {% data variables.contact.contact_enterprise_sales %}. Prepaid credits are only available to customers who are invoiced (with or without metered add-ons). Prepaid credits can't be used if your account _only_ includes metered add-ons.

## Viewing promotion and discounts

In the "Current promotions and discounts" section in the top right, you can see the total amount of promotions and discounts applied to your account. Click **More details** to view a breakdown of the promotions and discounts.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ versions:
topics:
- Copilot
type: rai
redirect_from:
- /early-access/copilot/code-review/responsible-use-of-copilot-code-review
- /early-access/copilot/code-reviews/responsible-use-of-copilot-code-review
- /early-access/copilot/code-reviews/responsible-use-of-copilot-code-reviews
---

> [!NOTE]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@ shortTitle: Chat in IDE

{% data reusables.copilot.chat-access-denied %}

## AI models for {% data variables.product.prodname_copilot_chat_short %}

{% data reusables.copilot.copilot-chat-models-beta-note %}

{% data reusables.copilot.copilot-chat-models-list %}

### Changing your AI model

{% data reusables.copilot.chat-model-limitations-ide %}

{% data reusables.copilot.model-picker-enable-o1-models %}
{% data reusables.copilot.open-chat-vs-code %}
1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice.

## Submitting prompts

You can ask {% data variables.product.prodname_copilot_chat_short %} to give code suggestions, explain code, generate unit tests, and suggest code fixes.
Expand Down Expand Up @@ -163,6 +149,20 @@ You can tell {% data variables.product.prodname_copilot_short %} to answer a que

{% endif %}

## AI models for {% data variables.product.prodname_copilot_chat_short %}

{% data reusables.copilot.copilot-chat-models-beta-note %}

{% data reusables.copilot.copilot-chat-models-list %}

### Changing your AI model

{% data reusables.copilot.chat-model-limitations-ide %}

{% data reusables.copilot.model-picker-enable-o1-models %}
{% data reusables.copilot.open-chat-vs-code %}
1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice.

## Additional ways to access {% data variables.product.prodname_copilot_chat_short %}

In addition to submitting prompts through the chat view, you can submit prompts in other ways:
Expand Down Expand Up @@ -217,22 +217,6 @@ To leave feedback about the {% data variables.product.prodname_copilot_chat %} e

{% data reusables.copilot.chat-access-denied %}

## AI models for {% data variables.product.prodname_copilot_chat_short %}

{% data reusables.copilot.copilot-chat-models-beta-note %}

{% data reusables.copilot.copilot-chat-models-list %}

### Changing your AI model

To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you must use {% data variables.product.prodname_vs %} 17.12 Preview 3 or later. See [{% data variables.product.prodname_vs %} 2022 Preview](https://visualstudio.microsoft.com/vs/preview/#download-preview).

{% data reusables.copilot.chat-model-limitations-ide %}

{% data reusables.copilot.model-picker-enable-o1-models %}
1. In the {% data variables.product.prodname_vs %} menu bar, click **View**, then click **{% data variables.product.prodname_copilot_chat %}**.
1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "triangle-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice.

## Submitting prompts

You can ask {% data variables.product.prodname_copilot_chat_short %} to give code suggestions, explain code, generate unit tests, and suggest code fixes.
Expand Down Expand Up @@ -320,6 +304,22 @@ You can tell {% data variables.product.prodname_copilot_short %} to answer a que

{% endif %}

## AI models for {% data variables.product.prodname_copilot_chat_short %}

{% data reusables.copilot.copilot-chat-models-beta-note %}

{% data reusables.copilot.copilot-chat-models-list %}

### Changing your AI model

To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you must use {% data variables.product.prodname_vs %} 17.12 Preview 3 or later. See [{% data variables.product.prodname_vs %} 2022 Preview](https://visualstudio.microsoft.com/vs/preview/#download-preview) in the {% data variables.product.prodname_vs %} documentation.

{% data reusables.copilot.chat-model-limitations-ide %}

{% data reusables.copilot.model-picker-enable-o1-models %}
1. In the {% data variables.product.prodname_vs %} menu bar, click **View**, then click **{% data variables.product.prodname_copilot_chat %}**.
1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "triangle-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice.

## Additional ways to access {% data variables.product.prodname_copilot_chat_short %}

In addition to submitting prompts through the chat window, you can submit prompts inline. To start an inline chat, right click in your editor window and select **Ask {% data variables.product.prodname_copilot_short %}**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ title: Configuring coding guidelines for GitHub Copilot code review
shortTitle: Configuring coding guidelines
intro: "Learn how to customize {% data variables.copilot.copilot_code-review_short %} with custom coding guidelines."
allowTitleToDifferFromFilename: true
redirect_from:
- /early-access/copilot/code-reviews/configuring-coding-guidelines
versions:
feature: copilot
topics:
- Copilot
redirect_from:
- /early-access/copilot/code-review/configuring-coding-guidelines
- /early-access/copilot/code-reviews/configuring-coding-guidelines
---

> [!NOTE] Custom coding guidelines are limited to selected participants in the {% data variables.release-phases.public_preview %} of {% data variables.copilot.copilot_code-review_short %}, and only available as part of a subscription to {% data variables.product.prodname_copilot_enterprise %}.
Expand All @@ -31,11 +32,11 @@ Coding guidelines are configured at the repository level. You can create and ena
## Dos and don'ts for coding guidelines

* **Do** use simple, clear and concise language to describe your coding guideline.
* **Do** be as specific as possible about what Copilot should look for - that is, what you \*o or don't want to see in your code.
* **Do** take a look at the "[Coding guidelines examples](#coding-guidelines-examples)" \*elow for some inspiration.
* **Don't** try to use coding guidelines to enforce style guidelines that can be covered \*y your linter or static analysis tool.
* **Do** be as specific as possible about what Copilot should look for - that is, what you do or don't want to see in your code.
* **Do** take a look at the "[Coding guidelines examples](#coding-guidelines-examples)" below for some inspiration.
* **Don't** try to use coding guidelines to enforce style guidelines that can be covered by your linter or static analysis tool.
* **Don't** use wording that is ambiguous or could be interpreted in different ways.
* **Don't** try to fit multiple different ideas into a single coding guideline.\*
* **Don't** try to fit multiple different ideas into a single coding guideline.

## Creating a coding guideline

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ versions:
feature: copilot
topics:
- Copilot
redirect_from:
- /early-access/copilot/code-review/using-copilot-code-review
- /early-access/copilot/code-reviews/using-copilot-code-review
- /early-access/copilot/code-reviews/using-copilot-code-reviews
---

> [!NOTE]
Expand Down
14 changes: 14 additions & 0 deletions rest/orgs/api-insights.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: REST API endpoints for API Insights
shortTitle: API Insights
intro: Use the REST API to view statistics for API usage in an organization.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
---

<!-- Content after this section is automatically generated -->
1 change: 1 addition & 0 deletions rest/orgs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ versions:
topics:
- API
children:
- /api-insights
- /blocking
- /custom-properties
- /custom-roles
Expand Down

0 comments on commit 8116bda

Please sign in to comment.