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
{{ message }}
Repository navigation
.Net: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types #8087
Describe the bug
OpenAIFunctionParameter.ParameterType is null for integer and number types.
To Reproduce
Sample parameter json:
"startAt": {
"description": "The index of the first item to return in a page of results (page offset).",
"type": "integer",
"format": "int32",
"default": 0
}
Here's the full swagger file (check searchForIssuesUsingJql API) openapi.json
Platform
OS: [e.g. Windows, Mac]
IDE: [e.g. Visual Studio, VS Code]
Language: [e.g. C#, Python]
Source: Nuget version 1.16.1
Additional context
We parse the swagger file using: await this.kernel.ImportPluginFromOpenApiAsync(cacheKey, pluginStream, parameters, cancellationToken)
Note: We are not seeing this issue for string type parameters!
changed the title [-]Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/-][+].Net: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/+]on Aug 13, 2024
changed the title [-].Net: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/-][+]Python: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/+]on Aug 13, 2024
changed the title [-]Python: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/-][+].Net: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/+]on Aug 13, 2024
Activity
[-]Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/-][+].Net: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/+][-].Net: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/-][+]Python: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/+][-]Python: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/-][+].Net: Bug: OpenAIFunctionParameter.ParameterType is null for integer and number types[/+]SergeyMenshykh commentedon Aug 13, 2024
Hi Sunny Mitra (@sunnymitramsft), thanks for reporting the issue. We plan to fix it this week.