Skip to content

Function params description #387

Closed Answered by giladgd
physimo asked this question in Q&A
Nov 24, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

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 …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@physimo
Comment options

@giladgd
Comment options

@physimo
Comment options

@giladgd
Comment options

@physimo
Comment options

Answer selected by giladgd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants