Skip to content

Commit e069317

Browse files
authored
Add guide for managing semantic indexing policy (#61431)
1 parent a07b8dd commit e069317

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

content/copilot/concepts/context/repository-indexing.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ Once an index has been created for a repository, it can be used by:
4747

4848
> [!TIP] There is no limit to how many repositories you can index.
4949
50+
## Semantic indexing for non-GitHub repositories
51+
52+
{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode %} can use semantic indexing for workspace files from repositories hosted outside {% data variables.product.github %}, such as GitLab, Azure DevOps, and local repositories.
53+
54+
This feature is controlled by policy and is disabled by default. For organizations and enterprises with {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %}, an enterprise owner or organization owner must explicitly set this policy to **Enabled** before members can use it. If the policy remains **Unconfigured**, the feature stays unavailable. See:
55+
56+
* [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies)
57+
* [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/manage-policies)
58+
5059
## Excluding content from {% data variables.copilot.copilot_chat_short %} answers
5160

5261
Enterprise or organization owners with a {% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %} plan can define content exclusions to control the behavior of {% data variables.product.prodname_copilot %} for the {% data variables.product.prodname_copilot_short %} seats they manage. For more information, see [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot).

content/copilot/reference/policy-conflicts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Feature, model, and privacy settings for users are set according to the **least
3535
| Policy | Availability matches | More information |
3636
| :---- | :---- | :---- |
3737
| {% data variables.product.prodname_copilot_short %} Metrics API | Most restrictive organization | {% ifversion ghec %}[AUTOTITLE](/rest/copilot/copilot-usage-metrics){% else %}Not applicable{% endif %} |
38+
| Semantic indexing for non-GitHub repositories | Most restrictive organization (only available when all organizations explicitly set **Enabled**; **Unconfigured** behaves as disabled) | [AUTOTITLE](/copilot/concepts/context/repository-indexing) |
3839
| Suggestions matching public code (privacy policy) | Most restrictive organization | [AUTOTITLE](/copilot/concepts/completions/code-suggestions) |
3940
| Allow members without a {% data variables.product.prodname_copilot_short %} license to use {% data variables.copilot.copilot_code-review_short %} in {% data variables.product.prodname_dotcom_the_website %} | Most restrictive organization | [AUTOTITLE](/copilot/responsible-use/code-review) |
4041
| {% data variables.product.prodname_copilot_short %} can search the web | Least restrictive organization | [AUTOTITLE](/copilot/responsible-use/chat-in-github#leveraging-a-web-search-to-answer-a-question) |

0 commit comments

Comments
 (0)