Skip to content

Commit cdd3570

Browse files
all models are now prepended with the provider name (#57089)
1 parent a58436e commit cdd3570

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ See [AUTOTITLE](/github-models/about-github-models).
3333

3434
## Best practices for using {% data variables.product.prodname_github_models %} at scale
3535

36+
The following best practices can help you effectively use {% data variables.product.prodname_github_models %} across your organization.
37+
3638
### Compare and evaluate AI models for governance and compliance
3739

3840
Review and compare available AI models against your company’s governance, data security, and compliance requirements. You can do this in any Models-enabled {% data variables.product.github %} repository or in the {% data variables.product.prodname_github_models %} catalog from the {% data variables.product.prodname_marketplace %} at https://github.com/marketplace?type=models. Your considerations may include:
@@ -113,7 +115,7 @@ Large software development projects often contain issues full of technical detai
113115
important questions.
114116
- role: user
115117
content: 'Summarize this issue, please - {% raw %}{{input}}{% endraw %}'
116-
model: gpt-4o
118+
model: openai/gpt-4o
117119
modelParameters:
118120
max_tokens: 4096
119121
```

content/github-models/quickstart.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ This guide helps you try out models quickly in the playground, then shows you ho
2222
## Step 1: Try models in the playground
2323

2424
1. Go to **[https://github.com/marketplace/models](https://github.com/marketplace/models)**.
25-
2625
1. In the playground, select at least one model from the dropdown menu.
2726
1. Test out different prompts using the **Chat** view, and compare responses from different models.
2827
1. Use the **Parameters** view to customize the parameters for the models you are testing, then see how they impact responses.
@@ -70,10 +69,9 @@ To call models programmatically, you’ll need:
7069

7170
1. To try other models, change the value of the `model` field in the JSON payload to one from the [marketplace](https://github.com/marketplace/models).
7271

73-
## Step 3: Run models in GitHub Actions
72+
## Step 3: Run models in {% data variables.product.prodname_actions %}
7473

7574
1. In your repository, create a workflow file at `.github/workflows/models-demo.yml`.
76-
7775
1. Paste the following workflow into the file you just created.
7876

7977
```yaml copy
@@ -118,13 +116,12 @@ This example shows how to send a prompt to a model and use the response in your
118116
{% data variables.product.prodname_github_models %} supports reusable prompts defined in `.prompt.yml` files. Once you add this file to your repository, it will appear in the Models page of your repository and can be run directly in the Prompt Editor and evaluation tooling. Learn more about [AUTOTITLE](/github-models/use-github-models/storing-prompts-in-github-repositories).
119117

120118
1. In your repository, create a file named `summarize.prompt.yml`. You can save it in any directory.
121-
122119
1. Paste the following example prompt into the file you just created.
123120

124121
```yaml copy
125122
name: Text Summarizer
126123
description: Summarizes input text concisely
127-
model: gpt-4o-mini
124+
model: openai/gpt-4o-mini
128125
modelParameters:
129126
temperature: 0.5
130127
messages:
@@ -139,11 +136,8 @@ This example shows how to send a prompt to a model and use the response in your
139136
```
140137

141138
1. Commit and push the file to your repository.
142-
143139
1. Go to the **Models** tab in your repository.
144-
145140
1. In the navigation menu, click **{% octicon "note" aria-hidden="true" aria-label="none" %} Prompts**, then click on the prompt file.
146-
147141
1. The prompt will open in the prompt editor. Click **Run**. A right-hand sidebar will appear asking you to enter input text. Enter any input text, then click **Run** again in the bottom right corner to test it out.
148142

149143
> [!NOTE]
@@ -154,13 +148,12 @@ This example shows how to send a prompt to a model and use the response in your
154148
Evaluations help you measure how different models respond to the same inputs so you can choose the best one for your use case.
155149

156150
1. Go back to the `summarize.prompt.yml` file you created in the previous step.
157-
158151
1. Update the file to match the following example.
159152

160153
```yaml copy
161154
name: Text Summarizer
162155
description: Summarizes input text concisely
163-
model: gpt-4o-mini
156+
model: openai/gpt-4o-mini
164157
modelParameters:
165158
temperature: 0.5
166159
messages:
@@ -190,11 +183,8 @@ Evaluations help you measure how different models respond to the same inputs so
190183
```
191184
192185
1. Commit and push the file to your repository.
193-
194186
1. In your repository, click the **Models** tab. Then click **{% octicon "note" aria-hidden="true" aria-label="none" %} Prompts** and reopen the same prompt in the prompt editor.
195-
196187
1. In the top left-hand corner, you can toggle the view from **Edit** to **Compare**. Click **Compare**.
197-
198188
1. Your evaluation will be set up automatically. Click **Run** to see results.
199189
200190
> [!TIP]

content/github-models/use-github-models/storing-prompts-in-github-repositories.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ versions:
88
ghec: '*'
99
---
1010

11-
Prompts can be stored as files directly within GitHub repositories. This unlocks the ability to view your prompts in an organized UI, share them with non-technical stakeholders, and run seamless iterations and comparisons on adjustments to models and prompts.
11+
Prompts can be stored as files directly within {% data variables.product.github %} repositories. This unlocks the ability to view your prompts in an organized UI, share them with non-technical stakeholders, and run seamless iterations and comparisons on adjustments to models and prompts.
1212

1313
## Benefits
1414

15-
* Easy integration with the new suite of AI development tools directly on GitHub.
15+
* Easy integration with the new suite of AI development tools directly on {% data variables.product.github %}.
1616
* Simple and scalable from simple to complex use cases.
1717
* Uses a widely supported format, compatible with existing tools.
1818

@@ -27,7 +27,7 @@ Example:
2727
``` yaml copy
2828
name: Text Summarizer
2929
description: Summarizes input text concisely
30-
model: gpt-4o-mini
30+
model: openai/gpt-4o-mini
3131
modelParameters:
3232
temperature: 0.5
3333
messages:

0 commit comments

Comments
 (0)