Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated API postman collection with new API endpoints with images #5

Merged
merged 3 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,49 @@
},
"item": [
{
"name": "Get Org Usage",
"name": "Get Enterprise Usage Members",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/enterprises/{{enterprise}}/copilot/usage",
"host": [
"{{url}}"
],
"path": [
"enterprises",
"{{enterprise}}",
"copilot",
"usage"
]
}
},
"response": []
},
{
"name": "Get Enterprise Usage Team",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/enterprises/{{enterprise}}/team/{{team_slug}}/copilot/usage",
"host": [
"{{url}}"
],
"path": [
"enterprises",
"{{enterprise}}",
"team",
"{{team_slug}}",
"copilot",
"usage"
]
}
},
"response": []
},
{
"name": "Get Org Usage Members",
"request": {
"method": "GET",
"header": [],
Expand All @@ -27,18 +69,20 @@
"response": []
},
{
"name": "Get Enterprise Usage",
"name": "Get Org Usage Team",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/enterprises/{{enterprise}}/copilot/usage",
"raw": "{{url}}/orgs/{{org}}/team/{{team_slug}}/copilot/usage",
"host": [
"{{url}}"
],
"path": [
"enterprises",
"{{enterprise}}",
"orgs",
"{{org}}",
"team",
"{{team_slug}}",
"copilot",
"usage"
]
Expand Down Expand Up @@ -259,6 +303,11 @@
"key": "enterprise",
"value": "ENTERPRISE",
"type": "string"
},
{
"key": "team_slug",
"value": "TEAM",
"type": "string"
}
]
}
27 changes: 26 additions & 1 deletion Demo3-Integrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,29 @@ Imagine you’re a developer who just got paged on an incident for a database-re
With enough context, you start troubleshooting what could be the cause, going to tools like Sentry for error monitoring to learn more. Then, you have to figure out a solution, apply the fix, and then deploy with Azure. In this scenario, there is a lot of context-switching.
Copilot Extensions bring this whole process together. From GitHub Copilot Chat, you can now easily invoke all of these tools to get context, perform actions, and generate files and pull requests—accelerating workflows across more tools.

![GitHub Copilot Extensions](../docs/images/integrations/copilot-extensions.png)
![GitHub Copilot Extensions](../docs/images/integrations/copilot-extensions.png)

## GitHub Copilot Models

With GitHub Models, you build your understanding of AI model capabilities by experimenting with model settings and sending prompts through a chat interface. Additionally, you can directly interact with models through an SDK. Refer to a model's "Getting Started" tab for more information about how to use the SDK.
Refer to a model’s "README" tab for more information on the model. Remember when interacting with a model you are experimenting with AI, so content mistakes are possible.

GitHub Models is designed to allow for learning, experimentation and proof-of-concept activities. The feature is subject to various limits (including requests per minute, requests per day, tokens per request, and concurrent requests) and is not designed for production use cases.
GitHub Models employs a number of [content filters](https://azure.microsoft.com/en-us/products/ai-services/ai-content-safety). These filters cannot be turned off as part of the GitHub Models experience.
If you decide to employ models through [Azure AI](https://ai.azure.com/github/model/docs) or a paid service, please configure your content filters to meet your requirements.

### [Prototyping with AI models](https://docs.github.com/en/github-models/prototyping-with-ai-models)

_Find and experiment with AI models for free._

If you want to develop a generative AI application, you can use GitHub Models to find and experiment with AI models for free. Once you are ready to bring your application to production, you can switch to a token from a paid Azure account. See the [Azure AI](https://ai.azure.com/github/model/docs) documentation.

See also "[Responsible use of GitHub Models](https://docs.github.com/en/github-models/responsible-use-of-github-models)."

#### Finding AI models

To find AI models, go to [GitHub Marketplace](https://github.com/marketplace/models), then click Models in the sidebar.

To view details about a model, click on the model's name.

![GitHub Copilot Models](../docs/images/integrations/copilot-ai-models.png)
Binary file modified docs/images/Telemetry/postman-update-token.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/Telemetry/postman-update-variables.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/integrations/copilot-extensions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.