Update azure.openai.chat connector #816
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Updates the
azure.openai.chat
connector to support the new API version with function calling capabilities and chat extensions.Fixes https://github.com/wso2-enterprise/choreo/issues/24117
One line release note:
azure.openai.chat
connector to support API version2023-08-01-preview
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Locally tested the existing and new functionality.
Test Configuration:
Checklist:
Changes to OpenAPI definition
Modified
info
section of the OpenAPI definition file - Exampledescription
- what the connector is aboutx-ballerina-init-description
OpenAPI extension - connector initialization detailsx-ballerina-display
OpenAPI extension - connector name and path to the connector iconAdded proper description each API Key, if API Key authentication is defined in OpenAPI definition file
Changes to connector module
png
of 200x200 px size with nameicon.png
Verifying connector module
Security checks