@microsoft/teams-ai
Version:
SDK focused on building AI based applications for Microsoft Teams.
40 lines • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlanSchema = void 0;
/**
* JSON schema for a `Plan`.
*/
exports.PlanSchema = {
type: 'object',
properties: {
type: {
type: 'string',
enum: ['plan']
},
commands: {
type: 'array',
items: {
type: 'object',
properties: {
type: {
type: 'string',
enum: ['DO', 'SAY']
},
action: {
type: 'string'
},
parameters: {
type: 'object'
},
response: {
type: 'string'
}
},
required: ['type']
},
minItems: 1
}
},
required: ['type', 'commands']
};
//# sourceMappingURL=PlanSchema.js.map