-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
When creating a FunctionDeclaration from a method, the type of the returned object does not get set in
FunctionDeclaration.responseJsonSchema
Seems a bit ambigous that a function can return a byte[] but this same type (byte array) cannot be used as function arguments (parameters)
Telling the model the type of the function response, should only help the model plan tool calls better and avoids having to clutter the function description with the returned object type
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.