-
I know it's kind of late to ask this, but where's the function parameter description went? {
description: "Will return current date and time",
params: {
type: "object",
properties: {
gmt: {
type: "string",
description: "Greenwich Mean Time in minus or positive value (e.g. \"+2\")"
}
}
}
} Now I see that it's no longer the case: May I know the reason why |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The Since there is currently no official support for this property, if you ignore the type, it won't get fed to the model in some places. The easiest way to check it is by putting something in the description and asking the model to tell you what it is to see whether it currently works with a given model. |
Beta Was this translation helpful? Give feedback.
The
description
parameter was never officially supported before; you haven't gotten a type error for this previously because the type validation for the JSON schema wasn't complete in the beta version.I'm working on enhancing the JSON schema support with additional features, so I'll introduce official support for
description
soon.Since there is currently no official support for this property, if you ignore the type, it won't get fed to the model in some places.
It depends on the kind of model you use it with, since some chat wrappers include the original JSON schema, and some have their own layer of translation between it and the chat template's desired format.
The easiest way to check …