mirror of
https://github.com/jcreek/AutomatedAssessmentFeedbackAgent.git
synced 2026-07-12 18:43:49 +00:00
14 lines
593 B
TypeScript
14 lines
593 B
TypeScript
import { ToolUtility } from '@azure/ai-projects';
|
|
|
|
export const spellingAndGrammarCheckerTool = ToolUtility.createFunctionTool({
|
|
name: 'checkSpellingAndGrammar',
|
|
description: 'Identifies spelling, punctuation, and syntax issues in the submission and suggests corrections.',
|
|
parameters: {
|
|
type: 'object',
|
|
properties: {
|
|
submission: { type: 'string', description: 'The student submission text' },
|
|
rubric: { type: 'string', description: 'The rubric or task description (for contextual tone adjustments)' }
|
|
},
|
|
required: ['submission']
|
|
}
|
|
}); |