Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Azure OpenAI on your data API version #5620

Closed
gbaeke opened this issue Mar 23, 2024 · 2 comments
Closed

Python: Azure OpenAI on your data API version #5620

gbaeke opened this issue Mar 23, 2024 · 2 comments
Assignees
Labels
python Pull requests for the Python Semantic Kernel

Comments

@gbaeke
Copy link

gbaeke commented Mar 23, 2024

Describe the bug
Azure OpenAI on your data in combination with Semantic Kernel seems to only support version 2023-12-01-preview. That version will be retired soon.

To Reproduce
Simply try to run the sample at https://github.com/microsoft/semantic-kernel/blob/main/python/samples/kernel-syntax-examples/azure_chat_gpt_with_data_api.py with another API version later than 2023-12-01-preview.

Expected behavior
Azure OpenAI on your data should work with API versions more recent than 2023-12-01-preview.

Additional information
Azure AI on your data in combination with function calling does not work either. The error message is that the API version does not support function calling. The sample https://github.com/microsoft/semantic-kernel/blob/main/python/samples/kernel-syntax-examples/azure_chat_gpt_with_data_api_function_calling.py can be used to verify that. I have not been able to get that to work potentially also due to API version issues.

@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel triage labels Mar 23, 2024
@github-actions github-actions bot changed the title Azure OpenAI on your data API version Python: Azure OpenAI on your data API version Mar 23, 2024
@moonbox3
Copy link
Contributor

Hi @gbaeke, thanks for raising the issue. We're working with the OYD team to get their code updated to use the latest API. There are some breaking changes, and we will have this in before the API deprecation date.

@moonbox3 moonbox3 self-assigned this Mar 26, 2024
@moonbox3 moonbox3 removed the triage label Mar 26, 2024
@moonbox3
Copy link
Contributor

We're tracking this in #5523. Closing this issue as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel
Projects
Archived in project
Development

No branches or pull requests

3 participants