mirror of
https://github.com/jcreek/AutomatedAssessmentFeedbackAgent.git
synced 2026-07-12 18:43:49 +00:00
21 lines
658 B
TypeScript
21 lines
658 B
TypeScript
import { ToolUtility } from '@azure/ai-projects';
|
|
|
|
export const rubricMatcherToolMeta = {
|
|
key: 'matchRubric',
|
|
userDescription: 'Assessing the submission against the provided rubric',
|
|
icon: '📊',
|
|
};
|
|
|
|
export const rubricMatcherTool = ToolUtility.createFunctionTool({
|
|
name: rubricMatcherToolMeta.key,
|
|
description: 'Matches a submission to a rubric and returns a score/criteria breakdown.',
|
|
parameters: {
|
|
type: 'object',
|
|
properties: {
|
|
submission: { type: 'string', description: 'The student submission text' },
|
|
rubric: { type: 'string', description: 'The rubric criteria' }
|
|
},
|
|
required: ['submission', 'rubric']
|
|
}
|
|
});
|