这是indexloc提供的服务,不要输入任何密码
Skip to content

Added link to Models docs for prompt.yml files #57

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

Merged
merged 2 commits into from
Jun 5, 2025

Conversation

stevenlaidlaw
Copy link
Contributor

Provides a bit of clarity for users who are unfamiliar with .prompt.yml files.

@Copilot Copilot AI review requested due to automatic review settings June 5, 2025 16:49
@stevenlaidlaw stevenlaidlaw requested a review from a team as a code owner June 5, 2025 16:49
@stevenlaidlaw stevenlaidlaw self-assigned this Jun 5, 2025
@stevenlaidlaw stevenlaidlaw added the documentation Improvements or additions to documentation label Jun 5, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a direct link to GitHub Models documentation for users unfamiliar with .prompt.yml files.

  • Inserts a reference link explaining .prompt.yml usage
  • Enhances README clarity around prompt files
Comments suppressed due to low confidence (1)

README.md:83

  • Indent this line to match the two-space indentation of the surrounding paragraphs for consistent markdown formatting.
Learn more about `.prompt.yml` files here: [Storing prompts in GitHub repositories](https://docs.github.com/en/github-models/use-github-models/storing-prompts-in-github-repositories)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@stevenlaidlaw stevenlaidlaw enabled auto-merge June 5, 2025 16:58
@stevenlaidlaw stevenlaidlaw merged commit 51dd9aa into main Jun 5, 2025
4 checks passed
@stevenlaidlaw stevenlaidlaw deleted the sl/gh-models-56 branch June 5, 2025 17:00
@@ -80,6 +80,8 @@ gh models eval my_prompt.prompt.yml --json

The JSON output includes detailed test results, evaluation scores, and summary statistics that can be processed by other tools or CI/CD pipelines.

Learn more about `.prompt.yml` files here: [Storing prompts in GitHub repositories](https://docs.github.com/en/github-models/use-github-models/storing-prompts-in-github-repositories).
Copy link
Member

@cheshire137 cheshire137 Jun 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: if we omit the /en in the URL, then if there's a non-English translation available and the user's browser requests that other language, we'll render our docs in the user's preferred language instead of defaulting them to English.

Edit: I opened #58 to drop the /en.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

document prompt.yml format
3 participants