Skip to content
Discussion options

You must be logged in to vote

@ashahabov Thanks for your question.

When we share an information about functions with AI model, we include function name, description and parameters. For example, in OpenAI models there is no field in API that will accept an information about function return type:
https://platform.openai.com/docs/guides/function-calling#defining-functions

When function is invoked and we have a result, we serialize that result and return it back to AI model. During this serialization step, things like JsonPropertyName will be included to produce a string representation of function result, but not Description, since we are returning function result value and not function result schema.

In your case, it is …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ashahabov
Comment options

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