feat(*): Add further tools

This commit is contained in:
Josh Creek
2025-04-21 10:33:26 +01:00
parent 98ff117f73
commit 839e1183a6
7 changed files with 105 additions and 6 deletions
@@ -0,0 +1,14 @@
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']
}
});