Skip to main content

Managing GitHub Models in your repository

You can enable or disable GitHub Models in your repository.

Кто может использовать эту функцию?

Repository administrators

Примечание.

GitHub Models for organizations and repositories is in public preview and subject to change.

About GitHub Models

GitHub Models automates, enhances, and streamlines AI-powered software development processes within GitHub. You can use GitHub Models to manage and optimize prompts, compare models, and create robust evaluations. See About GitHub Models.

Prerequisites

If your repository is organization-owned, an organization owner must first enable GitHub Models in your organization.

If your organization owner has restricted access to certain models, you will only see a subset of the total available models.

If the repository is owned by a user, that user has access to all the available models for that repository.

Enabling or disabling models in your repository

  1. На GitHubперейдите на главную страницу репозитория.

  2. Под именем репозитория щелкните Settings. Если вкладка "Параметры" не отображается, выберите раскрывающееся меню и нажмите кнопку "Параметры".

    Снимок экрана: заголовок репозитория с вкладками. Вкладка "Параметры" выделена темно-оранжевым контуром.

  3. Under "Code and automation, select Models.

  4. In the "Models in this repository" section, click beside Disabled and select Enabled from the dropdown. At the top of the page for your repository, click Models.

  5. You can choose a model, create and test prompts, compare prompts and models, as well as experiment in the playgound. See Prototyping with AI models.