Skip to main content

Gestion des stratégies et des caractéristiques de Copilot dans votre entreprise

Les propriétaires d’entreprises peuvent contrôler la disponibilité de GitHub Copilot et leurs fonctionnalités pour toutes les organisations de l’entreprise.

Qui peut utiliser cette fonctionnalité ?

Enterprise owners

Copilot Enterprise or Copilot Business

About policies for GitHub Copilot in your enterprise

You can set policies that control the availability of Copilot and its features in your enterprise and organizations.

There are three enforcement options for Copilot policies in your enterprise:

  • No policy - The feature is initially disabled at the organization level, but each organization with Copilot enabled in your enterprise can set their own policy for the feature.
  • Enabled - The feature is available in all organizations with Copilot enabled in your enterprise.
  • Disabled - The feature is blocked for all organizations with Copilot enabled in your enterprise.

If a policy is enabled or disabled at the enterprise level, the same policy cannot be changed at the organization level.

If no policy is chosen at the enterprise level, and multiple organizations within the enterprise choose different policies and grant access to the same users, the most restrictive policy is enforced.

You can configure any of the following policies for your enterprise:

Copilot in GitHub.com

With a Copilot Enterprise license, you can enable "Copilot in GitHub.com" to provide members of your enterprise access to AI features on the GitHub website, including:

  • GitHub Copilot Chat in GitHub.com - You can ask GitHub Copilot coding-related questions within a chat interface on GitHub. You can ask general questions or questions within a specific context such as a repository, issue, file, or symbol.
  • Copilot pull request summaries - Copilot can generate a summary of the changes made in a pull request, as well as a list of impacted files, using natural language. This overview helps reviewers quickly understand the proposed changes.
  • Copilot knowledge bases - Organization owners can create knowledge bases consisting of Markdown documentation across one or more repositories, allowing organization members to use that documentation as context when they ask questions in Copilot Chat in GitHub, Copilot Chat in Visual Studio Code, and Copilot Chat in Visual Studio.

If you enable "Copilot in GitHub.com", you can also configure additional features:

  • Opt in to user feedback collection: If enabled, users can provide feedback on Copilot pull request summaries. For more information, see "Creating a pull request summary with GitHub Copilot."

  • Opt in to preview features: If enabled, users can test new Copilot features that are not yet generally available. Be aware that previews of features may have flaws, and the features may be changed or discontinued at any time. Current previews of Copilot features include:

GitHub Copilot in the CLI

GitHub Copilot in the CLI is an extension for GitHub CLI which provides a chat-like interface in the terminal. You can ask GitHub Copilot for command suggestions, or for explanations of commands they run.

GitHub Copilot Chat in the IDE

You can chat with GitHub Copilot in your IDE to get code suggestions and answers to coding-related questions without context switching.

GitHub Copilot Chat in GitHub Mobile

GitHub Copilot Chat in GitHub Mobile is a chat interface that lets you interact with GitHub Copilot to ask and receive answers to coding-related questions within GitHub Mobile.

GitHub Copilot Extensions

Note

GitHub Copilot Extensions is in public preview and subject to change.

GitHub Copilot Extensions integrate external tools with GitHub Copilot Chat, helping members of your enterprise reduce context switching, interact with tools using natural language, and customize their Copilot Chat experience.

Suggestions matching public code

GitHub Copilot includes a filter which detects code suggestions that match public code on GitHub. When the filter is enabled, GitHub Copilot checks code suggestions with their surrounding code of about 150 characters against public code on GitHub. If there is a match or near match, the suggestion will not be shown.

Give Copilot access to Bing

Note

Bing search integration into Copilot Chat in GitHub, VS Code, and Visual Studio is currently in public preview and is subject to change.

GitHub Copilot Chat can use Bing to provide enhanced responses by searching the internet for information related to a question. Bing search is particularly helpful when discussing new technologies or highly specific subjects.

Copilot access to Claude 3.5 Sonnet

Note

Claude 3.5 Sonnet is in public preview and subject to change. The GitHub Pre-release License Terms apply to your use of this product.

By default, Copilot Chat uses the GPT 4o model. If you grant access to Anthropic Claude 3.5 Sonnet in Copilot, members of your enterprise can choose to use this model rather than the default GPT 4o model. See Using Claude 3.5 Sonnet in GitHub Copilot.

Copilot access to the o1 family of models

Note

Access to OpenAI's o1 models is in public preview and subject to change.

By default, Copilot Chat uses the GPT 4o model. If you grant access to the o1 family of models, members of your enterprise can select to use these models rather than the default GPT 4o model.

The o1 family of models includes two models:

  • o1-preview: This model is focused on advanced reasoning and solving complex problems, in particular in math and science. It responds more slowly than the gpt-4o model. Each member of your enterprise can make 10 requests to this model per day.
  • o1-mini: This is the faster version of the o1-preview model, balancing the use of complex reasoning with the need for faster responses. It is best suited for code generation and small context operations. Each member of your enterprise can make 50 requests to this model per day.

Copilot Metrics API access

Enable this policy to allow users to use the Copilot Metrics API. See REST API endpoints for Copilot metrics.

Configuring policies for GitHub Copilot

  1. In the top-right corner of GitHub, click your profile photo.
  2. Depending on your environment, click Your enterprise, or click Your enterprises then click the enterprise you want to view.
  3. On the left side of the page, in the enterprise account sidebar, click Policies.
  4. In the " Policies" section, click Copilot.
  5. On the "GitHub Copilot" page, click the Policies tab.
  6. For each policy you want to configure, click the dropdown menu and select an enforcement option.