Skip to content

Add Azure OpenAI Fine-Tuning Cost Advisor prompt template#693

Closed
BethanyJep wants to merge 0 commit intogithub:mainfrom
BethanyJep:main
Closed

Add Azure OpenAI Fine-Tuning Cost Advisor prompt template#693
BethanyJep wants to merge 0 commit intogithub:mainfrom
BethanyJep:main

Conversation

@BethanyJep
Copy link
Copy Markdown

@BethanyJep BethanyJep commented Feb 10, 2026

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • My contribution adds a new instruction, prompt, agent, or skill file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, or skill with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.

Description


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New collection file.
  • New skill file.
  • Update to existing instruction, prompt, agent, collection or skill.
  • Other (please specify):

Additional Notes


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

@github-actions github-actions Bot force-pushed the main branch 8 times, most recently from a70a351 to b32fe27 Compare February 24, 2026 02:15
@aaronpowell
Copy link
Copy Markdown
Contributor

Is this still going to be worked on? If so, it'd be worth converting it from a prompt to a skill to avoid being impacted by #760 and also the branch needs to change to target the staged branch as per #751

@github-actions github-actions Bot force-pushed the main branch 15 times, most recently from 436de60 to 7e4ef49 Compare February 26, 2026 05:51
@BethanyJep BethanyJep marked this pull request as ready for review February 26, 2026 09:48
Copilot AI review requested due to automatic review settings February 26, 2026 09:48
@BethanyJep
Copy link
Copy Markdown
Author

Yes, sorry, lost access to GitHub for a while. Let me work on resolving confllicts and ensure it is ready to be mearged

Copy link
Copy Markdown
Contributor

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

Adds a new reusable prompt template intended to guide users through estimating Azure OpenAI fine-tuning costs using Microsoft Docs via MCP, and registers it in the prompts documentation index.

Changes:

  • Added a new finetuning-cost-advisor.prompt.md prompt for Azure OpenAI fine-tuning cost estimation and recommendations.
  • Updated docs/README.prompts.md to include the new prompt in the prompts list.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
prompts/finetuning-cost-advisor.prompt.md New prompt template for fine-tuning cost discovery, pricing retrieval via MCP, and cost breakdown guidance.
docs/README.prompts.md Adds the new prompt to the prompts catalog for discoverability/installation.
Comments suppressed due to low confidence (3)

prompts/finetuning-cost-advisor.prompt.md:5

  • Prompt files in this repo strongly recommend specifying a model in frontmatter (see AGENTS.md prompt guidance). Adding a model here would make behavior more reproducible and helps users understand the expected capability/cost profile for this prompt.
---
agent: 'agent'
description: 'You are an expert Azure OpenAI consultant specializing in helping people understand fine-tuning costs and options. You provide tailored recommendations based on use case, budget, and requirements, using official Microsoft documentation via MCP to ensure accurate and up-to-date pricing information.'
tools: ['microsoftdocs/mcp/*']
---

prompts/finetuning-cost-advisor.prompt.md:45

  • This instruction embeds a specific “$5K RFT cap”. Since pricing/limits can change and the prompt already requires verifying via MCP, it would be safer to rephrase this as “If Microsoft’s current docs mention an RFT cap, include it and cite the source” rather than baking in a fixed value.
- **Emphasize Developer Tier** for POCs and startups.
- **Mention the $5K RFT cap** if recommending reinforcement fine-tuning.
- **Link to official docs** for verification.

prompts/finetuning-cost-advisor.prompt.md:140

  • The “Pricing Quick Reference” section contains concrete discounts and rates (e.g., “10–30% discount”, “50% discount”, “$1.70/hour”) even though the prompt emphasizes verifying all pricing via MCP. Consider converting these into non-numeric qualitative statements (or placeholders) and requiring the assistant to fill in the actual numbers only after fetching current pricing from the cited sources.
## Pricing Quick Reference (Verify via MCP!)

**Training Tiers:**
- Regional: Standard price
- Global: 10-30% discount
- Developer: 50% discount (spot capacity)

**Deployment Types:**
- Standard: $1.70/hour + pay-per-token
- PTU: Fixed capacity, predictable billing
- Developer: Free hosting, 24h limit

---
agent: 'agent'
description: 'You are an expert Azure OpenAI consultant specializing in helping people understand fine-tuning costs and options. You provide tailored recommendations based on use case, budget, and requirements, using official Microsoft documentation via MCP to ensure accurate and up-to-date pricing information.'
tools: ['microsoftdocs/mcp/*']
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

The frontmatter tools value (microsoftdocs/mcp/*) doesn’t match the Microsoft Docs MCP tool identifier used elsewhere in this repo (e.g., prompts use microsoft.docs.mcp). With the current value, this prompt may not have access to the mcp://microsoft-docs/* tools it requires. Consider aligning the tools entry with the existing convention so the required MCP tools are actually available at runtime.

Suggested change
tools: ['microsoftdocs/mcp/*']
tools: ['microsoft.docs.mcp']

Copilot uses AI. Check for mistakes.
Comment on lines +99 to +108
```
TRAINING COST (One-time):
- SFT/DPO: (training_tokens_M × epochs × price_per_M) × tier_discount
- RFT: (hours × $50/hr) + optional grader costs

HOSTING COST (Monthly):
- Standard: $1.70/hour × hours_deployed
- PTU: PTU_count × hourly_rate × 730 hours
- Developer: $0 (auto-deletes after 24h)

Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

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

This section hard-codes specific pricing numbers (e.g., “$50/hr”, “$1.70/hour”, “$0”) while earlier rules say not to guess pricing without fetching current MCP data. To avoid stale or contradictory guidance, replace fixed amounts with placeholders/variables and instruct the assistant to populate them only after retrieving the current rates via MCP (with citations).

This issue also appears in the following locations of the same file:

  • line 43
  • line 130

Copilot uses AI. Check for mistakes.
@BethanyJep BethanyJep closed this Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants