Skip to content

intial p2m spec#39472

Draft
slister1001 wants to merge 11 commits intofeature/foundryfrom
sydneylister/foundry-p2m
Draft

intial p2m spec#39472
slister1001 wants to merge 11 commits intofeature/foundryfrom
sydneylister/foundry-p2m

Conversation

@slister1001
Copy link
Member

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

Click here to open a PR for only SDK configuration.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

Next Steps to Merge

Important checks have failed. As of today they are not blocking this PR, but in near future they may.
Addressing the following failures is highly recommended:
  • ⚠️ The check named SDK Validation Status has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Comment generated by summarize-checks workflow run.

@github-actions github-actions bot added the TypeSpec Authored with TypeSpec label Jan 6, 2026
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
TypeSpec Azure.AI.Projects
Python azure-ai-projects

source: OpenAI.EvalJsonlFileContentSource;

/** The ID of the taxonomy to use for seed generation. */
taxonomy_id: string;
Copy link
Member Author

Choose a reason for hiding this comment

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

remove taxonomy id, will be passed into source

…r taxonomies

- Add taxonomy_version optional field to TaxonomyBasedEvaluatorDefinition
  for version pinning (supports reproducible evaluations and audit trails)
- Add taxonomyId query parameter to ListEvaluatorVersionsParameters
  for filtering evaluators by taxonomy ID
Add cleaner REST endpoints for discovering resources related to a taxonomy:
- GET /evaluationtaxonomies/{name}/datasets - List datasets generated from taxonomy
- GET /evaluationtaxonomies/{name}/runs - List evaluation runs that used taxonomy
- GET /evaluationtaxonomies/{name}/evaluators - List evaluators referencing taxonomy

This provides a more RESTful alternative to the existing query parameter approach.
…n flow

evaluators/models.tsp:
- Add 'behavior' to EvaluatorDefinitionType union
- Add BehaviorBasedEvaluatorDefinition model with:
  - behavior_name: string
  - behavior_definition: string (10-2000 chars)
  - taxonomy_id: string (read-only, set by service)
  - taxonomy_version: string (read-only, set by service)

evaluation_taxonomies/models.tsp:
- Add 'behavior' to EvaluationTaxonomyInputType union
- Add BehaviorTaxonomyInput model
- Add subtopics field to TaxonomySubCategory

This enables the simplified "evaluator-first" flow where users can create
an evaluator with a behavior definition inline and the taxonomy is
automatically created behind the scenes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant