I encountered an issue after integrating semantic-kernel into my project. When attempting to use the ChatCompletion to call the methods getStreamingChatCompletionsAsync() or getChatCompletionsStream(), I receive the following error:
com.azure.core.exception.HttpResponseException: Status code 400, "{
"error": {
"message": "None is not of type 'object' - 'logit_bias'",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
"
Upon investigation, I found that semantic kernel is currently using the azure-ai-openai dependency version 1.0.0-beta.2:
com.azure
azure-ai-openai
1.0.0-beta.2
However, it appears that the SDK has already been upgraded to version 1.0.0-beta.5. When I directly reference the 1.0.0-beta.5 version, the methods work as expected.
I would appreciate any guidance or solutions to this issue. Thank you.