You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@FunctionDef(name = "fetch_places_by_brand", description = "Fetch Place by Brand")
public static String fetch_places_by_brand(
@FunctionParam(name = "brand", description = "brand it is mandatory ") String brand,
@FunctionParam(name = "conversationId", description = "conversationId from question ") String conversationId){
...}
throws exception
receive payload:{
"error": {
"message": "Invalid schema for function 'fetch_places_by_brand': {'$ref': '$.tools[0].function.parameters.properties.conversationId.enum'} is not of type 'array'.",
"type": "invalid_request_error",
"param": "tools[0].function.parameters",
"code": "invalid_function_parameters"
}
}
Fixing this would be helpful to use agents flex
Model: gpt3.5 or gpt4o
The text was updated successfully, but these errors were encountered:
Function calling
throws exception
Fixing this would be helpful to use agents flex
Model: gpt3.5 or gpt4o
The text was updated successfully, but these errors were encountered: