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

Add note and sample for the case of using Azure OpenAI #5802

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

joperezr
Copy link
Member

@joperezr joperezr commented Jan 17, 2025

When using Azure OpenAI the URL passed in to chat completions client needs to include the full path to the endpoint, otherwise you'll get a 404. This is documented in Azure AI Inference docs, but might not be very discoverable for consumers of this package. For that reason, adding a small note on the readme of the AzureInference package to help guide users on how to connect correctly.

Microsoft Reviewers: Open in CodeFlow

@joperezr joperezr requested a review from a team as a code owner January 17, 2025 19:38
@joperezr joperezr enabled auto-merge (squash) January 17, 2025 19:41
@dotnet-comment-bot
Copy link
Collaborator

‼️ Found issues ‼️

Project Coverage Type Expected Actual
Microsoft.Extensions.Caching.Hybrid Line 86 84.76 🔻

🎉 Good job! The coverage increased 🎉
Update MinCodeCoverage in the project files.

Project Expected Actual
Microsoft.Extensions.AI.OpenAI 77 78
Microsoft.Extensions.AI 88 89

Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=921382&view=codecoverage-tab

@joperezr joperezr merged commit 8b2e1bc into dotnet:main Jan 17, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants