This repository has been archived by the owner on Dec 30, 2023. It is now read-only.
[Feature] Add an option to set the api_version for Azure OpenAI #82
Labels
enhancement
New feature or request
Description
I'm attempting to use the HKUST's Azure OpenAI service (doc link), which only supports some specific API versions. If other API versions are used, it will result in a 404 error.
2023-05-15
2022-12-01 (although this version is listed in the docs...):
Solution
The
KernelBuilder
from semantic-kernel accepts a config object containing the API version.https://github.com/Richasy/FantasyCopilot/blob/491f18a75830dd45d421891a90bdb1c26eb6b5a2/src/Services/Services.Desktop/KernelService/KernelService.cs#L188C27-L188C57
https://github.com/microsoft/semantic-kernel/blob/d70bd6b3aeff651214f036435175449128d68bd3/dotnet/src/Connectors/Connectors.AI.OpenAI/OpenAIKernelBuilderExtensions.cs#L341
Plan B
No response
Additional
No response
The text was updated successfully, but these errors were encountered: