Function calling for Cohere

This commit is contained in:
Cohee
2024-05-25 17:09:47 +03:00
parent dc8530049f
commit fa6fc45e6f
5 changed files with 127 additions and 31 deletions

View File

@ -1063,6 +1063,7 @@ function onFunctionToolRegister(args) {
emotion: {
type: 'string',
enum: emotions,
description: `One of the following: ${JSON.stringify(emotions)}`,
},
},
required: [