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
When making a function definition using FunctionCallingHelper if the function has an array for a parameter it just errors, the code for the other method of making function definitions seems to support it however.
The text was updated successfully, but these errors were encountered:
//Generates a 'Parameter type 'System.Single[]' not supported' Exception when run, any type of array does thisFunctions= FunctionCallingHelper.GetFunctionDefinitions<Calculator>();publicclassCalculator{[FunctionDescription("Adds an array of numbers together.")]publicfloatSum(float[]nums){return nums.Sum();}}
How to customize the parameters of the ChatCompletionCreateRequest?,openai Updated, you can carry the file ID, but the current SDK does not seem to be supported,Thanks
When making a function definition using FunctionCallingHelper if the function has an array for a parameter it just errors, the code for the other method of making function definitions seems to support it however.
The text was updated successfully, but these errors were encountered: