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

"Use OpenAI SDK with Phi-3 in Azure AI and Azure ML" page shows an example with 0.x openai library version #216

Closed
fujikosu opened this issue Nov 1, 2024 · 3 comments

Comments

@fujikosu
Copy link
Member

fujikosu commented Nov 1, 2024

"Use OpenAI SDK with Phi-3 in Azure AI and Azure ML" page shows an example with 0.x openai library version that is quite old at this stage.
https://github.com/microsoft/Phi-3CookBook/blob/main/md/02.QuickStart/OpenAISDK_Quickstart.md

Is the latest openai library still supported to interact with phi model deployed on serverless API?

@leestott
Copy link
Contributor

@fujikosu
Copy link
Member Author

@leestott Is there any downside to go with OpenAI SDK instead of Azure Inference API? My code is currently running with openai==1.53.0 for Phi inference

@leestott
Copy link
Contributor

leestott commented Jan 8, 2025

Our recommendation is move the Azure AI Foundry SDK https://learn.microsoft.com/azure/ai-studio/how-to/develop/sdk-overview?tabs=sync&pivots=programming-language-python

This way you ensure your using the latest release.

@leestott leestott closed this as completed Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants