Skip to content

Commit 3fcae04

Browse files
authored
[Improvement] GitHub Models docs (#56518)
1 parent a5746b7 commit 3fcae04

File tree

4 files changed

+27
-10
lines changed

4 files changed

+27
-10
lines changed

content/copilot/get-started/github-copilot-features.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ AI-generated text completion to help you write pull request descriptions quickly
4949

5050
{% data reusables.copilot.copilot-extensions.copilot-extensions-intro %} See [AUTOTITLE](/copilot/building-copilot-extensions/about-building-copilot-extensions).
5151

52-
### {% data variables.product.prodname_github_models %} ({% data variables.release-phases.public_preview %})
53-
54-
Bringing the power of industry leading large and small language models to users directly on {% data variables.product.github %}. See [AUTOTITLE](/github-models).
55-
5652
### {% data variables.copilot.copilot_edits_short %}
5753

5854
{% data variables.copilot.copilot_edits_short %} is available in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, and JetBrains IDEs. {% data reusables.copilot.copilot-edits.about-copilot-edits %}

content/github-models/about-github-models.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ Use the Comparisons view to evaluate the outputs of multiple prompt configuratio
5252

5353
Use the Playground to quickly explore models and test prompt ideas in real time. The Playground is ideal for early experimentation, helping you understand a model’s behavior, capabilities, and response style. You can interactively select models, adjust parameters, and compare responses side by side.
5454

55+
## Billing
56+
57+
For more information about billing for {% data variables.product.prodname_github_models %}, see [AUTOTITLE](/billing/managing-billing-for-your-products/about-billing-for-github-models).
58+
5559
## Join the community
5660

5761
To ask questions and share feedback, see this [GitHub Models discussion post](https://github.com/orgs/community/discussions/159087).
@@ -62,3 +66,4 @@ To learn how others are using {% data variables.product.prodname_github_models %
6266
* [AUTOTITLE](/github-models/use-github-models/prototyping-with-ai-models)
6367
* [AUTOTITLE](/github-models/use-github-models/optimizing-your-ai-powered-app-with-github-models)
6468
* [AUTOTITLE](/github-models/use-github-models/evaluating-ai-models)
69+
* [AUTOTITLE](/billing/managing-billing-for-your-products/about-billing-for-github-models)

content/github-models/github-models-at-scale/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ versions:
66
children:
77
- /use-models-at-scale
88
- /manage-models-at-scale
9-
- /set-up-custom-model-integration-models-byok
9+
- /using-your-own-api-keys-in-github-models
1010
---
11+

content/github-models/github-models-at-scale/set-up-custom-model-integration-models-byok.md renamed to content/github-models/github-models-at-scale/using-your-own-api-keys-in-github-models.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
---
22
title: Using your own API keys in GitHub Models
33
shortTitle: Use custom models
4-
intro: Learn how to integrate your preferred custom models with {% data variables.product.prodname_github_models %} by using your own LLM API keys.
4+
intro: 'Learn how to integrate your preferred custom models with {% data variables.product.prodname_github_models %} by using your own LLM API keys.'
55
versions:
66
feature: github-models
7-
permissions: Organization owners can add custom models to {% data variables.product.prodname_github_models %} for their organization
7+
permissions: 'Organization owners can add custom models to {% data variables.product.prodname_github_models %} for their organization'
88
topics:
99
- Enterprise
1010
allowTitleToDifferFromFilename: true
11+
redirect_from:
12+
- /github-models/github-models-at-scale/set-up-custom-model-integration-models-byok
1113
---
1214

1315
{% data reusables.models.byok-preview-note %}
16+
>
17+
> Model support is currently limited to OpenAI and AzureAI.
1418
1519
You can bring your own API keys (BYOK) to {% data variables.product.prodname_github_models %}, and enable teams to use your preferred large language model (LLM) providers across tools like Prompts, Playground, and Models in Actions. For more information about {% data variables.product.prodname_github_models %}, see [AUTOTITLE](/github-models/about-github-models).
1620

1721
To learn about billing and pricing, see [AUTOTITLE](/billing/managing-billing-for-your-products/about-billing-for-github-models).
1822

19-
>[!NOTE] Model support is currently limited to OpenAI and AzureAI.
20-
2123
## Why bring your own API keys?
2224

2325
As an organization owner, you may have specific requirements for governance, data security, and compliance. By setting up your own API keys, you can:
@@ -47,10 +49,23 @@ You must first add the relevant API keys for the organization. After that, your
4749
{% data reusables.profile.access_org %}
4850
{% data reusables.profile.org_settings %}
4951
{% data reusables.organizations.models-development %}
50-
1. Under "Models permissions", select **All publishers** to enable models added by API keys.
52+
1. Under "Models permissions," select **All publishers** to enable models added by API keys.
5153
* If this option isn't available, you need to allow the use of the model in the organization. See [AUTOTITLE](/github-models/github-models-at-scale/manage-models-at-scale#controlling-model-usage-in-your-organization).
5254
1. Optionally, select **Only select models** to create a custom list of enabled or disabled models. This allows you to control which models are available to your organization.
5355

56+
## Creating an enabled or disabled models list
57+
58+
To control which models are available to your organization, create an enabled or disabled models list as follows:
59+
60+
{% data reusables.profile.access_org %}
61+
{% data reusables.profile.org_settings %}
62+
{% data reusables.organizations.models-development %}
63+
1. Under "Models permissions," select **Only select models**, then select **Enabled list** from the dropdown to create a list of allowed models.
64+
1. Optionally, select **Disabled list** from the dropdown if you want to create a list of blocked models.
65+
1. Above the table of models, click **Add models or publishers**.
66+
1. In the "Select models and publishers to allow" dialog, select the models and publishers you want to include in your list.
67+
1. Click **Update enabled list** to save your changes.
68+
5469
## Next steps
5570

5671
Now that you've enabled your custom models in {% data variables.product.prodname_github_models %}, learn how to:

0 commit comments

Comments
 (0)