mirror of
https://github.com/jcreek/AutomatedAssessmentFeedbackAgent.git
synced 2026-07-13 02:53:49 +00:00
feat(*): Add AI agent feedback
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { ToolUtility } from '@azure/ai-projects';
|
||||
|
||||
export const essayAnalyzerTool = ToolUtility.createFunctionTool({
|
||||
name: 'analyzeEssay',
|
||||
description: 'Analyzes an essay for structure, argument, and evidence.',
|
||||
parameters: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
essay: { type: 'string', description: 'The essay text' }
|
||||
},
|
||||
required: ['essay']
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,14 @@
|
||||
import { ToolUtility } from '@azure/ai-projects';
|
||||
|
||||
export const rubricMatcherTool = ToolUtility.createFunctionTool({
|
||||
name: 'matchRubric',
|
||||
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']
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user