Skip to content

feat: FewShotExample model and ModelRun re-evaluation fields#9634

Draft
deppp wants to merge 1 commit intodevelopfrom
fb-rnd-new-editor
Draft

feat: FewShotExample model and ModelRun re-evaluation fields#9634
deppp wants to merge 1 commit intodevelopfrom
fb-rnd-new-editor

Conversation

@deppp
Copy link
Collaborator

@deppp deppp commented Mar 18, 2026

Summary

  • Add FewShotExample model linking prompts to task+annotation pairs for few-shot examples
  • Add ModelRun fields for re-evaluation subset modes: task_ids, sample_subset_size, filters_json, source_model_run
  • Add ThirdPartyModelVersion.max_few_shot_examples field
  • Remove unused DELETE_PREDICTIONS_POSTPROCESS hook from delete_predictions()

OSS model foundations for the custom interface builder and prompter enhancements in humansignal/label-studio-enterprise#10511.

Test plan

  • Verify migrations generate cleanly
  • Run existing ml_models tests
  • Full testing via LSE PR humansignal/label-studio-enterprise#10511

🤖 Generated with Claude Code

Add OSS model foundations for the custom interface builder and prompter
enhancements in LSE (humansignal/label-studio-enterprise#10511):

- FewShotExample model linking prompts to task+annotation pairs
- ModelRun fields: task_ids, sample_subset_size, filters_json,
  source_model_run for re-evaluation subset modes
- ThirdPartyModelVersion.max_few_shot_examples field
- Remove unused DELETE_PREDICTIONS_POSTPROCESS hook

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit be4595c
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/69ba3dbe861e8400080b93d8

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for label-studio-playground canceled.

Name Link
🔨 Latest commit be4595c
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/69ba3dbef03f2c00086139e3

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for label-studio-storybook canceled.

Name Link
🔨 Latest commit be4595c
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/69ba3dbeb6d7950008582ba8

@github-actions github-actions bot added the feat label Mar 18, 2026
@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit be4595c
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/69ba3dbe623115000847d615

@deppp deppp closed this Mar 18, 2026
@deppp deppp deleted the fb-rnd-new-editor branch March 18, 2026 05:53
@deppp deppp restored the fb-rnd-new-editor branch March 18, 2026 05:53
@deppp deppp reopened this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant